diff --git a/src/accessories/CampaignImporterExporter.ttslua b/src/accessories/CampaignImporterExporter.ttslua index 13afae3e..16eb2dbb 100644 --- a/src/accessories/CampaignImporterExporter.ttslua +++ b/src/accessories/CampaignImporterExporter.ttslua @@ -275,10 +275,7 @@ function createCampaignToken(_, playerColor, _) local logData = campaignLog.getData() logData.Locked = false table.insert(campaignTokenData.ContainedObjects, logData) - spawnObjectData({ data = campaignTokenData, callback_function = finishTokenSpawning }) -end - -function finishTokenSpawning(obj) + spawnObjectData({ data = campaignTokenData }) broadcastToAll("Campaign successfully exported! Save coin object to import on a fresh save", Color.Green) end