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