mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-09 20:36:15 +00:00
Fix another crash with /stop...
This commit is contained in:
parent
96620c6c31
commit
3d0208cb9a
1 changed files with 2 additions and 2 deletions
|
|
@ -136,8 +136,6 @@ function start_match(map) -- Start the match
|
|||
return "nope :("
|
||||
end
|
||||
|
||||
set_match_state("pre_match")
|
||||
|
||||
local map_loading_images = {}
|
||||
for _, player in pairs(core.get_connected_players()) do
|
||||
set_player_mode(player, "pre_match")
|
||||
|
|
@ -169,6 +167,8 @@ function start_match(map) -- Start the match
|
|||
end
|
||||
|
||||
core.after(3, function()
|
||||
set_match_state("pre_match")
|
||||
|
||||
for _, player in pairs(core.get_connected_players()) do
|
||||
player:set_pos(map_data.spawn)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue