Fix option panel settings
This commit is contained in:
parent
c412c3cfce
commit
e15a95a712
@ -1404,13 +1404,10 @@ function onLoad(savedData)
|
||||
loadedData = JSON.decode(savedData)
|
||||
optionPanel = loadedData.optionPanel
|
||||
acknowledgedUpgradeVersions = loadedData.acknowledgedUpgradeVersions
|
||||
updateOptionPanelState()
|
||||
|
||||
-- hack to set options on load
|
||||
applyOptionPanelChange("useClueClickers", false)
|
||||
applyOptionPanelChange("useResourceCounters", true)
|
||||
applyOptionPanelChange("showTokenArranger", true)
|
||||
applyOptionPanelChange("showChaosBagManager", true)
|
||||
optionPanel["useResourceCounters"] = "enabled"
|
||||
updateOptionPanelState()
|
||||
|
||||
-- restore saved state for drawn chaos tokens
|
||||
for _, guid in ipairs(loadedData.chaosTokensGUID or {}) do
|
||||
|
Loading…
Reference in New Issue
Block a user