diff options
author | cheapie <no-email-for-you@example.com> | 2025-04-04 22:49:57 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2025-04-04 22:49:57 -0500 |
commit | a887141fb409475ade542b3cb16c97579d27d830 (patch) | |
tree | f1625510d80faf9833f03c1c4597f910352ba3e2 /controller.lua | |
parent | 4014345978b5fa3274b2746eff3bdca14468e532 (diff) | |
download | celevator-a887141fb409475ade542b3cb16c97579d27d830.tar celevator-a887141fb409475ade542b3cb16c97579d27d830.tar.gz celevator-a887141fb409475ade542b3cb16c97579d27d830.tar.bz2 celevator-a887141fb409475ade542b3cb16c97579d27d830.tar.xz celevator-a887141fb409475ade542b3cb16c97579d27d830.zip |
Diffstat (limited to 'controller.lua')
-rw-r--r-- | controller.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/controller.lua b/controller.lua index cbe9ab3..0a43eff 100644 --- a/controller.lua +++ b/controller.lua @@ -454,6 +454,12 @@ function celevator.controller.finish(pos,mem,changedinterrupts) local olddownbuttonlights = oldmem.dncalls or {} local newupbuttonlights = mem.upcalls or {} local newdownbuttonlights = mem.dncalls or {} + if mem.params and mem.params.groupmode == "group" then + oldupbuttonlights = oldmem.swingupcalls + olddownbuttonlights = oldmem.swingdncalls + newupbuttonlights = mem.swingupcalls + newdownbuttonlights = mem.swingdncalls + end local callbuttons = carinfo.callbuttons for _,button in pairs(callbuttons) do if oldupbuttonlights[button.landing] ~= newupbuttonlights[button.landing] then |