fixed bug where smashedTimes counter cont incremented at the beginning of a race

This commit is contained in:
Niklas Conen 2021-12-17 17:37:03 +01:00
parent f816ce4beb
commit 3793b1f00b

View File

@ -317,7 +317,9 @@ void RacingControlComponent::OnRequestDie(Entity *player) {
return;
}
if (!racingPlayer.noSmashOnReload) {
racingPlayer.smashedTimes++;
}
// Reset player to last checkpoint
GameMessages::SendRacingSetPlayerResetInfo(