updated DES position testing
This commit is contained in:
parent
2f21b2f2cf
commit
47e81b403a
@ -36,6 +36,7 @@ function onLoad()
|
||||
updateColors()
|
||||
|
||||
-- start loop to update card count
|
||||
playmatApi.checkForDES(matColor)
|
||||
Wait.time(updateValue, 1, -1)
|
||||
end
|
||||
|
||||
|
@ -548,7 +548,7 @@ function checkForDES()
|
||||
|
||||
-- position is used to exclude deck / discard
|
||||
local cardPos = self.positionToLocal(obj.getPosition())
|
||||
if cardMetadata.id == "06159" and cardPos.x < 1 then
|
||||
if cardMetadata.id == "06159" and cardPos.x > -1 then
|
||||
hasDES = true
|
||||
break
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user