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
|
||||
foundTokens = foundTokens + math.abs(obj.getQuantity())
|
||||
obj.destruct()
|
||||
elseif obj.getGMNotes() == "resourceCounter" then
|
||||
elseif obj.getMemo() == "resourceCounter" then
|
||||
foundTokens = obj.getVar("val")
|
||||
clickableResourceCounter = obj
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user