update sort bags

This commit is contained in:
Bunny67
2018-07-22 13:14:00 +03:00
parent bb867629d5
commit 9f040f4133
+3 -1
View File
@@ -628,7 +628,7 @@ end
function B:StopStacking(message) function B:StopStacking(message)
twipe(moves) twipe(moves)
twipe(moveTracker) twipe(moveTracker)
moveRetries, lastItemID, currentItemID, lockStop, lastDestination, lastMove = 0, nil, nil, nil, nil, nil moveRetries, lastItemID, lockStop, lastDestination, lastMove = 0, nil, nil, nil, nil, nil
self.SortUpdateTimer:Hide() self.SortUpdateTimer:Hide()
if message then if message then
@@ -717,6 +717,7 @@ function B:DoMoves()
lastDestination = moveTarget lastDestination = moveTarget
lastMove = moves[i] lastMove = moves[i]
lastItemID = moveID lastItemID = moveID
currentItemID = nil
tremove(moves, i) tremove(moves, i)
return return
end end
@@ -747,6 +748,7 @@ function B:DoMoves()
lastDestination = moveTarget lastDestination = moveTarget
lastMove = moves[i] lastMove = moves[i]
lastItemID = moveID lastItemID = moveID
currentItemID = nil
tremove(moves, i) tremove(moves, i)
if moves[i-1] then if moves[i-1] then