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