Name improvement

This commit is contained in:
Entrox-Licher 2024-01-11 11:46:11 -05:00
parent 6231ca0063
commit 1f71fe0346

View File

@ -272,7 +272,7 @@ function createCampaignToken(_, playerColor, _)
additionalIndex = additionalIndex.getPosition() additionalIndex = additionalIndex.getPosition()
} }
campaignTokenData.GMNotes = JSON.encode(campaignData) campaignTokenData.GMNotes = JSON.encode(campaignData)
campaignTokenData.Nickname = os.date("%b %d ") .. campaignBox.getName() .. " Save" campaignTokenData.Nickname = campaignBox.getName() .. os.date(" %b %d") .. " Save"
spawnObjectData({ data = campaignTokenData, callback_function = finishTokenSpawning }) spawnObjectData({ data = campaignTokenData, callback_function = finishTokenSpawning })
end end