mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
reset score on reset
This commit is contained in:
parent
4ce4849131
commit
d3e9ca1655
|
@ -277,7 +277,10 @@ void GAMECONTROLLER::post_reset()
|
|||
for(int i = 0; i < MAX_CLIENTS; i++)
|
||||
{
|
||||
if(game.players[i])
|
||||
{
|
||||
game.players[i]->respawn();
|
||||
game.players[i]->score = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue