diff options
-rw-r--r-- | dispatcherfw.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dispatcherfw.lua b/dispatcherfw.lua index 6489944..741175c 100644 --- a/dispatcherfw.lua +++ b/dispatcherfw.lua @@ -13,6 +13,7 @@ if not mem.powerstate then mem.powerstate = "awake" end if not mem.dbdcalls then mem.dbdcalls = {} end local function getpos(carid) + if not mem.params.floorsserved[carid] then return 0 end local floormap = {} local floorheights = {} for i=1,#mem.params.floornames,1 do |