mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +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