Increase the delay before starting a game when waiting for a player

It usually takes a while for all players to respawn, 1sec should be enough
master
upsilon 2019-08-14 09:58:04 +02:00
parent 5589b09dd0
commit facf2e0d2e
No known key found for this signature in database
GPG Key ID: A80DAE1F266E1C3C
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ function hg_match.new_player(name)
if hg_match.waiting_player_flag then
debug_msg("Starting a game because the waiting_player_flag is set")
hg_match.waiting_player_flag = false
minetest.after(0.2, hg_match.new_game)
minetest.after(1, hg_match.new_game)
return
end