refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-07-31 15:14:55 +02:00
parent be200921ef
commit a0e0728298
6 changed files with 82 additions and 52 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ function private.move_item(from_slot, to_slot, amount, k)
SplitContainerItem(from_slot[1], from_slot[2], amount)
PickupContainerItem(unpack(to_slot))
return Aux.control.wait_until(function() return m.stack_size(to_slot) == expected_size end, k)
return Aux.control.when(function() return m.stack_size(to_slot) == expected_size end, k)
end
function private.process()