summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2026-05-10 14:10:06 -0500
committercheapie <no-email-for-you@example.com>2026-05-10 14:10:06 -0500
commit85ac97aaeb5bfb9d4f96595e8597c6d7ce3d1889 (patch)
treef6f24c1c6913160fa2756891492640ea40965d62
parent59f1bb45f266ed4eddd6ff3ffc96750fa7e14469 (diff)
downloadcelevator-85ac97aaeb5bfb9d4f96595e8597c6d7ce3d1889.tar
celevator-85ac97aaeb5bfb9d4f96595e8597c6d7ce3d1889.tar.gz
celevator-85ac97aaeb5bfb9d4f96595e8597c6d7ce3d1889.tar.bz2
celevator-85ac97aaeb5bfb9d4f96595e8597c6d7ce3d1889.tar.xz
celevator-85ac97aaeb5bfb9d4f96595e8597c6d7ce3d1889.zip
Fix stale floor information being displayed in dispatcher connection editorHEADmain
-rw-r--r--dispatcherfw.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/dispatcherfw.lua b/dispatcherfw.lua
index 814f773..531cc11 100644
--- a/dispatcherfw.lua
+++ b/dispatcherfw.lua
@@ -436,6 +436,7 @@ elseif event.type == "ui" then
elseif exp.type == "DCL" then
mem.editingconnection = #mem.params.carids-exp.index+1
mem.screenstate = (mem.screenstate == "oobe_connections" and "oobe_connection" or "connection")
+ mem.newconnfloors = mem.params.floorsserved[mem.params.carids[mem.editingconnection]]
elseif event.fields.edit then
mem.screenstate = (mem.screenstate == "oobe_connections" and "oobe_connection" or "connection")
mem.newconnfloors = mem.params.floorsserved[mem.params.carids[mem.editingconnection]]