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