stacking fix

This commit is contained in:
Manuel Simon Hirsig
2015-10-01 03:09:22 +02:00
parent 69f334cedc
commit 761f51b22f
2 changed files with 17 additions and 5 deletions
+5 -1
View File
@@ -6,6 +6,10 @@ local state
local post_auction
local DELAY = 0.5
local last_posted = GetTime()
function Aux.post.onupdate()
if state then
if state.auctioning then
@@ -21,7 +25,7 @@ function Aux.post.onupdate()
state.name,
state.stack_size,
function(slot)
if slot then
if state and slot then
post_auction(slot)
else
Aux.post.stop()