Fix syntax error.. (how did this get here)

This commit is contained in:
IonicCheese 2026-02-19 12:20:53 -08:00
commit 98d712e860
2 changed files with 2 additions and 2 deletions

View file

@ -230,7 +230,7 @@ function end_match() -- End the match
end
for _, player in pairs(core.get_connected_players()) do
player:set_pos -- name kept for backwards compat(spawn_pos)
player:set_pos(spawn_pos)
player:get_inventory():set_list("main", {})
player:set_inventory_formspec([[

View file

@ -75,7 +75,7 @@ core.register_on_respawnplayer(function(player)
if match_state == "in_progress" or match_state == "post_match" then
set_player_mode(player, "spectator")
player:set_pos({x = map_data.spawn_x, y = map_data.spawn_y, z = map_data.spawn_z})
player:set_pos(map_data.spawn)
player:get_inventory():set_list("main", {})
player:set_properties({pointable = false})