mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-09 20:36:15 +00:00
Fix syntax error.. (how did this get here)
This commit is contained in:
parent
7a69ef1351
commit
98d712e860
2 changed files with 2 additions and 2 deletions
|
|
@ -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([[
|
||||
|
|
|
|||
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue