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