Update playermat token check to use Memo
This commit is contained in:
parent
7e09f5e780
commit
ca7f5b6367
@ -424,7 +424,7 @@ function replenishTokens(card, count, replenish)
|
|||||||
if obj.getCustomObject().image == "http://cloud-3.steamusercontent.com/ugc/1758068501357192910/11DDDC7EF621320962FDCF3AE3211D5EDC3D1573/" then
|
if obj.getCustomObject().image == "http://cloud-3.steamusercontent.com/ugc/1758068501357192910/11DDDC7EF621320962FDCF3AE3211D5EDC3D1573/" then
|
||||||
foundTokens = foundTokens + math.abs(obj.getQuantity())
|
foundTokens = foundTokens + math.abs(obj.getQuantity())
|
||||||
obj.destruct()
|
obj.destruct()
|
||||||
elseif obj.getGMNotes() == "resourceCounter" then
|
elseif obj.getMemo() == "resourceCounter" then
|
||||||
foundTokens = obj.getVar("val")
|
foundTokens = obj.getVar("val")
|
||||||
clickableResourceCounter = obj
|
clickableResourceCounter = obj
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user