Set some more options on load
Build and Release / Build and Release (push) Failing after 30s Details

- no clickable clue counters (was previously set, but poorly)
- use clickable resource counters
- enable token arranger
- enable chaos bag manager
This commit is contained in:
Adam Goldsmith 2023-07-22 00:42:48 -04:00
parent c14d23da9e
commit 852141d8a7
1 changed files with 6 additions and 2 deletions

View File

@ -350,8 +350,12 @@ function onLoad(savedData)
optionPanel = loadedData.optionPanel
acknowledgedUpgradeVersions = loadedData.acknowledgedUpgradeVersions
updateOptionPanelState()
-- hack to disable on load
playmatApi.clickableClues(false, "All")
-- hack to set options on load
applyOptionPanelChange("useClueClickers", false)
applyOptionPanelChange("useResourceCounters", true)
applyOptionPanelChange("showTokenArranger", true)
applyOptionPanelChange("showChaosBagManager", true)
else
print("Saved state could not be found!")
end