From a887141fb409475ade542b3cb16c97579d27d830 Mon Sep 17 00:00:00 2001 From: cheapie Date: Fri, 4 Apr 2025 22:49:57 -0500 Subject: Swing operation enhancements --- controller.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'controller.lua') 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 -- cgit v1.2.3