mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
fixed game timer issue
This commit is contained in:
parent
64c9966ca0
commit
dfdb614ef5
|
@ -770,9 +770,9 @@ static int server_run()
|
|||
snapstorage_purge_all(&clients[c].snapshots);
|
||||
}
|
||||
|
||||
mods_init();
|
||||
game_start_time = time_get();
|
||||
current_tick = 0;
|
||||
mods_init();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -166,7 +166,7 @@ void gameobject::tick()
|
|||
{
|
||||
warmup--;
|
||||
if(!warmup)
|
||||
resetgame();
|
||||
startround();
|
||||
}
|
||||
|
||||
if(game_over_tick != -1)
|
||||
|
|
Loading…
Reference in a new issue