diff options
| author | cheapie <cheapiephp@gmail.com> | 2026-07-17 22:19:54 -0500 |
|---|---|---|
| committer | cheapie <cheapiephp@gmail.com> | 2026-07-17 22:19:54 -0500 |
| commit | 37f50a76b7c8697d2766bdcfee71e019c20fa7c8 (patch) | |
| tree | 080a0a2d09d2f2eefd4ac80eb95e8c2cfd9f0e0a | |
| parent | cc42ad614bcba2b06eded78d4d149696c6d26337 (diff) | |
| download | celevator-main.tar celevator-main.tar.gz celevator-main.tar.bz2 celevator-main.tar.xz celevator-main.zip | |
| -rw-r--r-- | controllerfw.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controllerfw.lua b/controllerfw.lua index 7298e6b..129fa71 100644 --- a/controllerfw.lua +++ b/controllerfw.lua @@ -747,7 +747,7 @@ elseif event.type == "cop" then end end elseif mem.drive.status.vel < 0 then - for i=#mem.params.floornames,getpos(),-1 do + for i=getpos(),1,-1 do if mem.drive.status.neareststop > gettarget(i) and mem.drive.status.dpos < gettarget(i) then gotofloor(i) break |
