Fix more bugs

The map starts now though you don't get teleported to it.
This commit is contained in:
a-bad-dev 2025-12-08 22:57:28 -04:00
commit 68f9b82b96

View file

@ -171,8 +171,8 @@ core.register_chatcommand("start", {
params = "<map>",
privs = {match_manager = true},
description = "Start the match",
func = function()
map_data = place_map(map)
func = function(_, param)
map_data = place_map(param)
remove_barrier(map_data.size_x, map_data.barrier_level, map_data.size_z)
core.chat_send_all(core.colorize("green", "Match started!"))
alive_players = {}