updated DES position testing

This commit is contained in:
Chr1Z93 2024-06-06 00:08:14 +02:00
parent 2f21b2f2cf
commit 47e81b403a
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ function onLoad()
updateColors()
-- start loop to update card count
playmatApi.checkForDES(matColor)
Wait.time(updateValue, 1, -1)
end

View File

@ -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