From 9c63578be2940b4e362eaf5ac255b97445f431b7 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Mon, 15 Jan 2024 15:21:05 +0100 Subject: [PATCH] bugfix --- src/accessories/CleanUpHelper.ttslua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/accessories/CleanUpHelper.ttslua b/src/accessories/CleanUpHelper.ttslua index 022f9e2b..d6d18ada 100644 --- a/src/accessories/CleanUpHelper.ttslua +++ b/src/accessories/CleanUpHelper.ttslua @@ -121,7 +121,6 @@ function cleanUp(_, color) blessCurseManagerApi.removeAll(color) removeLines() discardHands() - tokenSpawnTrackerApi.resetAll() chaosBagApi.returnChaosTokens() chaosBagApi.releaseAllSealedTokens(color) @@ -317,6 +316,8 @@ function tidyPlayerMatCoroutine() end end + -- reset spawned data + tokenSpawnTrackerApi.resetAll() local datahelper = guidReferenceApi.getObjectByOwnerAndType("Mythos", "DataHelper") if datahelper then datahelper.setTable("SPAWNED_PLAYER_CARD_GUIDS", {})