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 26aabf2..3392179 100644
--- a/controllerfw.lua
+++ b/controllerfw.lua
@@ -734,6 +734,10 @@ elseif event.type == "dispatchermsg" then
mem.groupupcalls[event.msg] = nil
elseif event.channel == "groupdncancel" then
mem.groupdncalls[event.msg] = nil
+ elseif event.channel == "swingupcall" and mem.carstate == "normal" then
+ mem.swingupcalls[event.msg] = true
+ elseif event.channel == "swingdncall" and mem.carstate == "normal" then
+ mem.swingdncalls[event.msg] = true
elseif event.channel == "carcall" and mem.carstate == "normal" then
mem.carcalls[event.msg] = true
send(event.source,"status",mem)