added updated check
This commit is contained in:
parent
8b0dec5fac
commit
6ecdd6d7fd
@ -44,10 +44,13 @@ function addTokenToBag(_, _, tokenType)
|
||||
end
|
||||
|
||||
function removeAndExtraAction()
|
||||
if not updated then return end
|
||||
blessCurseManagerApi.removeToken("Bless")
|
||||
blessCurseManagerApi.removeToken("Bless")
|
||||
blessCurseManagerApi.removeToken("Curse")
|
||||
blessCurseManagerApi.removeToken("Curse")
|
||||
updated = false
|
||||
Wait.frames(maybeUpdateButtonState, 2)
|
||||
|
||||
local position = self.getPosition()
|
||||
local matColor = playermatApi.getMatColorByPosition(position)
|
||||
|
Loading…
Reference in New Issue
Block a user