This commit is contained in:
Entrox-Licher 2024-04-13 02:06:43 -04:00
parent 95c1c19de5
commit a28d4356b2

View File

@ -232,6 +232,7 @@ function createCampaignToken(_, playerColor, _)
table.insert(traumaValues, val)
end
else
traumaValues = nil
printToAll("Trauma values could not be found in campaign log!", "Yellow")
end
@ -283,6 +284,8 @@ function findUniqueObjectWithTag(tag)
if #objects == 1 then
return objects[1]
elseif #objects == 0 then
broadcastToAll("No " .. tag .. " detected; ensure it has the correct tag.", "Red")
else
broadcastToAll("More than one " .. tag .. " detected; delete all but one.", "Red")
end