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() local logData = campaignLog.getData()
logData.Locked = false logData.Locked = false
table.insert(campaignTokenData.ContainedObjects, logData) table.insert(campaignTokenData.ContainedObjects, logData)
spawnObjectData({ data = campaignTokenData, callback_function = finishTokenSpawning }) spawnObjectData({ data = campaignTokenData })
end
function finishTokenSpawning(obj)
broadcastToAll("Campaign successfully exported! Save coin object to import on a fresh save", Color.Green) broadcastToAll("Campaign successfully exported! Save coin object to import on a fresh save", Color.Green)
end end