Fix /start...

This commit is contained in:
IonicCheese 2026-02-19 12:04:07 -08:00
commit 00b55b666a
2 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,7 @@
-- Maps mod for SSG
local map_path = core.get_modpath("maps") .. "/maps/"
map_data = {}
map_data = nil
map_list = core.get_dir_list(map_path, true)
table.sort(map_list)
@ -14,7 +14,8 @@ function place_map(map)
map_pos = vector.new(1000 * (i - 1), 0, 0)
break
elseif i == #map_list then
return nil
map_data = nil
return
end
end