Performance Improvement
This commit is contained in:
parent
f53f7fdba0
commit
1bc78bd2a1
@ -122,7 +122,7 @@ function createCampaignFromToken(importData)
|
||||
|
||||
if importData["additionalIndex"] then
|
||||
findUniqueObjectWithTag("AllCardsHotfix").destruct()
|
||||
spawnObjectData({data = importData["additionalIndex"]})
|
||||
spawnObjectJSON({json = importData["additionalIndex"]})
|
||||
end
|
||||
|
||||
chaosBagApi.setChaosBagState(importData["bag"])
|
||||
@ -230,7 +230,7 @@ function createCampaignToken(_, playerColor, _)
|
||||
playmat = playAreaApi.getSurface(),
|
||||
options = optionPanelApi.getOptions(),
|
||||
guide = campaignGuide.Book.getPage(),
|
||||
additionalIndex = additionalIndex.getData()
|
||||
additionalIndex = additionalIndex.getJSON()
|
||||
}
|
||||
campaignTokenData.GMNotes = JSON.encode(campaignData)
|
||||
campaignTokenData.Nickname = os.date("%b %d ") .. campaignBox.getName() .. " Save"
|
||||
|
Loading…
x
Reference in New Issue
Block a user