This commit is contained in:
Chr1Z93 2024-01-15 15:21:05 +01:00
parent 6d876f27d2
commit 9c63578be2

View File

@ -121,7 +121,6 @@ function cleanUp(_, color)
blessCurseManagerApi.removeAll(color) blessCurseManagerApi.removeAll(color)
removeLines() removeLines()
discardHands() discardHands()
tokenSpawnTrackerApi.resetAll()
chaosBagApi.returnChaosTokens() chaosBagApi.returnChaosTokens()
chaosBagApi.releaseAllSealedTokens(color) chaosBagApi.releaseAllSealedTokens(color)
@ -317,6 +316,8 @@ function tidyPlayerMatCoroutine()
end end
end end
-- reset spawned data
tokenSpawnTrackerApi.resetAll()
local datahelper = guidReferenceApi.getObjectByOwnerAndType("Mythos", "DataHelper") local datahelper = guidReferenceApi.getObjectByOwnerAndType("Mythos", "DataHelper")
if datahelper then if datahelper then
datahelper.setTable("SPAWNED_PLAYER_CARD_GUIDS", {}) datahelper.setTable("SPAWNED_PLAYER_CARD_GUIDS", {})