Removed redundant function

This commit is contained in:
Entrox-Licher 2024-01-15 16:45:09 -05:00
parent e285f8e151
commit 2a766522fc

View File

@ -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