diff --git a/src/accessories/CampaignImporterExporter.ttslua b/src/accessories/CampaignImporterExporter.ttslua index e76d99bd..f610626c 100644 --- a/src/accessories/CampaignImporterExporter.ttslua +++ b/src/accessories/CampaignImporterExporter.ttslua @@ -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