From 19e54b58c5d835a9a18570fbcf3885cfb9789626 Mon Sep 17 00:00:00 2001 From: cheapie Date: Thu, 25 Apr 2024 13:01:35 -0500 Subject: Reopen closing doors when entering independent --- controllerfw.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllerfw.lua b/controllerfw.lua index 979df8a..9f12981 100644 --- a/controllerfw.lua +++ b/controllerfw.lua @@ -788,7 +788,7 @@ elseif mem.indsw then if oldstate == "stop" or oldstate == "mrinspect" or oldstate == "fault" then mem.carstate = "resync" gotofloor(getpos()) - elseif oldstate == "normal" and mem.doorstate == "closed" and not (mem.carmotion or juststarted) then + elseif oldstate == "normal" and (mem.doorstate == "closed" or mem.doorstate == "closing") and not (mem.carmotion or juststarted) then open() elseif oldstate == "normal" and mem.doorstate == "open" then interrupt(nil,"close") -- cgit v1.2.3