Merge pull request #547 from argonui/cleanup
Bugfix for Clean Up Helper
This commit is contained in:
commit
efb1c859a2
@ -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", {})
|
||||||
|
Loading…
Reference in New Issue
Block a user