diff options
-rw-r--r-- | dispatcherfw.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dispatcherfw.lua b/dispatcherfw.lua index e909b19..318a69d 100644 --- a/dispatcherfw.lua +++ b/dispatcherfw.lua @@ -54,7 +54,9 @@ local function cartorealfloor(carid,floor) if type(floor) == "table" then local ret = {} for i in pairs(floor) do - ret[cartorealfloor(carid,i)] = true + if cartorealfloor(carid,i) then + ret[cartorealfloor(carid,i)] = true + end end return ret end |