Merge pull request #161 from argonui/small-action-token-bugfix

Playermat: Handle deleted small action token
This commit is contained in:
Buhallin 2023-01-06 00:35:19 -08:00 committed by GitHub
commit 6a003c33dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -600,7 +600,9 @@ function maybeUpdateActiveInvestigator(card)
["08016"] = 14 -- Bob Jenkins ["08016"] = 14 -- Bob Jenkins
} }
if smallToken ~= nil then
setObjectState(smallToken, SPECIAL_ACTIONS[activeInvestigatorId] or STATE_TABLE[class]) setObjectState(smallToken, SPECIAL_ACTIONS[activeInvestigatorId] or STATE_TABLE[class])
end
end end
function setObjectState(obj, stateId) function setObjectState(obj, stateId)