Merge pull request #886 from dscarpac/fixupkeep

Bugfix: Upkeep button
This commit is contained in:
Chr1Z 2024-09-30 09:51:59 +02:00 committed by GitHub
commit befecca136
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -351,7 +351,7 @@ function doUpkeep(_, clickedByColor, isRightClick)
end
-- do not rotate, replenish, etc. on cards in investigator card area
if inArea(self.positionToLocal(obj.getPosition()), INVESTIGATOR_AREA) then
return
break
end
local cardMetadata = JSON.decode(obj.getGMNotes()) or {}