mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-12 19:28: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;
|
||||
}
|
||||
|
||||
racingPlayer.smashedTimes++;
|
||||
if (!racingPlayer.noSmashOnReload) {
|
||||
racingPlayer.smashedTimes++;
|
||||
}
|
||||
|
||||
// Reset player to last checkpoint
|
||||
GameMessages::SendRacingSetPlayerResetInfo(
|
||||
|
Loading…
Reference in New Issue
Block a user