fixed load function for play area connection disabling
This commit is contained in:
parent
20381a4b66
commit
da7d150fa3
@ -1441,7 +1441,7 @@ function applyOptionPanelChange(id, state)
|
|||||||
local counter = guidReferenceApi.getObjectByOwnerAndType("Mythos", "MasterClueCounter")
|
local counter = guidReferenceApi.getObjectByOwnerAndType("Mythos", "MasterClueCounter")
|
||||||
counter.setVar("useClickableCounters", state)
|
counter.setVar("useClickableCounters", state)
|
||||||
|
|
||||||
-- option: Play area snap tags
|
-- option: Play area connection drawing
|
||||||
elseif id == "playAreaConnections" then
|
elseif id == "playAreaConnections" then
|
||||||
playAreaApi.setConnectionDrawState(state)
|
playAreaApi.setConnectionDrawState(state)
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ function onLoad(savedData)
|
|||||||
locations = loadedData.trackedLocations or {}
|
locations = loadedData.trackedLocations or {}
|
||||||
currentScenario = loadedData.currentScenario
|
currentScenario = loadedData.currentScenario
|
||||||
connectionColor = loadedData.connectionColor or { 0.4, 0.4, 0.4, 1 }
|
connectionColor = loadedData.connectionColor or { 0.4, 0.4, 0.4, 1 }
|
||||||
connectionsEnabled = loadedData.connectionsEnabled or true
|
connectionsEnabled = loadedData.connectionsEnabled
|
||||||
end
|
end
|
||||||
|
|
||||||
-- this needs to be here since the playarea will be reloaded when the image changes
|
-- this needs to be here since the playarea will be reloaded when the image changes
|
||||||
|
Loading…
Reference in New Issue
Block a user