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
|
|
@ -135,8 +135,6 @@ function start_match(map) -- Start the match
|
||||||
if map_data == nil then
|
if map_data == nil then
|
||||||
return "nope :("
|
return "nope :("
|
||||||
end
|
end
|
||||||
|
|
||||||
set_match_state("pre_match")
|
|
||||||
|
|
||||||
local map_loading_images = {}
|
local map_loading_images = {}
|
||||||
for _, player in pairs(core.get_connected_players()) do
|
for _, player in pairs(core.get_connected_players()) do
|
||||||
|
|
@ -169,6 +167,8 @@ function start_match(map) -- Start the match
|
||||||
end
|
end
|
||||||
|
|
||||||
core.after(3, function()
|
core.after(3, function()
|
||||||
|
set_match_state("pre_match")
|
||||||
|
|
||||||
for _, player in pairs(core.get_connected_players()) do
|
for _, player in pairs(core.get_connected_players()) do
|
||||||
player:set_pos(map_data.spawn)
|
player:set_pos(map_data.spawn)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue