mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-13 19:58:21 +00:00
fixed bug where smashedTimes counter cont incremented at the beginning of a race
This commit is contained in:
parent
f816ce4beb
commit
3793b1f00b
@ -317,7 +317,9 @@ void RacingControlComponent::OnRequestDie(Entity *player) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!racingPlayer.noSmashOnReload) {
|
||||
racingPlayer.smashedTimes++;
|
||||
}
|
||||
|
||||
// Reset player to last checkpoint
|
||||
GameMessages::SendRacingSetPlayerResetInfo(
|
||||
|
Loading…
Reference in New Issue
Block a user