From 2a766522fc25d0337124f403d5eba1fb53e00bfe Mon Sep 17 00:00:00 2001 From: Entrox-Licher Date: Mon, 15 Jan 2024 16:45:09 -0500 Subject: [PATCH] Removed redundant function --- src/accessories/CampaignImporterExporter.ttslua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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