fixed game timer issue

This commit is contained in:
Magnus Auvinen 2007-12-10 21:05:57 +00:00
parent 64c9966ca0
commit dfdb614ef5
2 changed files with 2 additions and 2 deletions

View file

@ -770,9 +770,9 @@ static int server_run()
snapstorage_purge_all(&clients[c].snapshots); snapstorage_purge_all(&clients[c].snapshots);
} }
mods_init();
game_start_time = time_get(); game_start_time = time_get();
current_tick = 0; current_tick = 0;
mods_init();
} }
else else
{ {

View file

@ -166,7 +166,7 @@ void gameobject::tick()
{ {
warmup--; warmup--;
if(!warmup) if(!warmup)
resetgame(); startround();
} }
if(game_over_tick != -1) if(game_over_tick != -1)