Merge pull request #188 from argonui/cleanuphelper-patch

Clean Up Helper: fixed typo for TokenSpawnTrackerApi
This commit is contained in:
Chr1Z 2023-01-15 13:55:24 +01:00 committed by GitHub
commit eb6d1f288b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ Cleans up the table for the next scenario in a campaign:
- use the IGNORE_TAG to exclude objects from tidying (default: "CleanUpHelper_Ignore")
--]]
local tokenSpawnTracker = require("core/token/TokenSpawnTracker")
local tokenSpawnTrackerApi = require("core/token/TokenSpawnTrackerApi")
-- enable this for debugging
local SHOW_RAYS = false
@ -175,7 +175,7 @@ function cleanUp()
removeBlessCurse()
removeLines()
discardHands()
TokenSpawnTracker.resetAll()
tokenSpawnTrackerApi.resetAll()
printToAll("Tidying main play area...", "White")
startLuaCoroutine(self, "tidyPlayareaCoroutine")