Removed redundant function
This commit is contained in:
parent
e285f8e151
commit
2a766522fc
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user