summaryrefslogtreecommitdiff
path: root/controllerfw.lua
diff options
context:
space:
mode:
Diffstat (limited to 'controllerfw.lua')
-rw-r--r--controllerfw.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/controllerfw.lua b/controllerfw.lua
index 73c352f..f4c5b07 100644
--- a/controllerfw.lua
+++ b/controllerfw.lua
@@ -761,6 +761,10 @@ elseif event.type == "remotemsg" then
mem.groupdncalls[event.msg] = nil
elseif event.channel == "carcall" and mem.carstate == "normal" then
mem.carcalls[event.msg] = true
+ elseif event.channel == "security" and type(event.msg.floor) == "number" then
+ if mem.params.floornames[event.msg.floor] and event.msg.floor ~= (mem.params.mainlanding or 1) then
+ mem.params.carcallsecurity[event.msg.floor] = event.msg.mode
+ end
end
elseif event.type == "lightcurtain" and not mem.nudging then
if mem.carstate == "normal" or mem.carstate == "indep" then