mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +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++)
|
for(int i = 0; i < MAX_CLIENTS; i++)
|
||||||
{
|
{
|
||||||
if(game.players[i])
|
if(game.players[i])
|
||||||
|
{
|
||||||
game.players[i]->respawn();
|
game.players[i]->respawn();
|
||||||
|
game.players[i]->score = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue