rename variables
This commit is contained in:
parent
9d522b5392
commit
24ca8865f4
@ -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 playAreaApi = require("core/PlayAreaApi")
|
||||
local tokenSpawnTracker = require("core/token/TokenSpawnTracker")
|
||||
|
||||
-- enable this for debugging
|
||||
local SHOW_RAYS = false
|
||||
@ -175,6 +175,7 @@ function cleanUp()
|
||||
removeBlessCurse()
|
||||
removeLines()
|
||||
discardHands()
|
||||
TokenSpawnTracker.resetAll()
|
||||
|
||||
printToAll("Tidying main play area...", "White")
|
||||
startLuaCoroutine(self, "tidyPlayareaCoroutine")
|
||||
@ -231,7 +232,7 @@ end
|
||||
-- gets the GUID of a custom data helper (if present) and adds it to the ignore list
|
||||
function ignoreCustomDataHelper()
|
||||
local playArea = getObjectFromGUID("721ba2")
|
||||
local guid = playArea.getVar("custom_data_helper_guid")
|
||||
local guid = playArea.getVar("customDataHelper")
|
||||
if guid then table.insert(IGNORE_GUIDS, guid) end
|
||||
end
|
||||
|
||||
@ -321,8 +322,6 @@ function tidyPlayareaCoroutine()
|
||||
end
|
||||
end
|
||||
|
||||
playAreaApi.resetSpawnedCards()
|
||||
|
||||
printToAll("Tidying playermats and agenda mat...", "White")
|
||||
startLuaCoroutine(self, "tidyPlayerMatCoroutine")
|
||||
return 1
|
||||
|
Loading…
Reference in New Issue
Block a user