minor fix

This commit is contained in:
dscarpac 2024-05-01 11:57:04 -05:00
parent ac09b737cb
commit fd4762601d

View File

@ -90,6 +90,7 @@ function onScriptingButtonDown(index, playerColor)
elseif tokenType == "actionToken" then
local matColor = playmatApi.getMatColorByPosition(position)
local result = playmatApi.searchAroundPlaymat(matColor, "isCard")
local investigatorClass = "Neutral"
for j, card in ipairs(result) do
local metadata = JSON.decode(card.getGMNotes()) or {}
if metadata.type == "Investigator" then