Add some details

This commit is contained in:
Miloslav Ciz 2025-01-08 16:58:22 +01:00
parent 402867e73b
commit ac95a4f0b6
2 changed files with 12 additions and 41 deletions

3
game.h
View file

@ -866,7 +866,8 @@ uint8_t LCR_gameStep(uint32_t time)
LCR_rendererMarkTakenCP(carBlock[0],carBlock[1],carBlock[2]);
LCR_audioPlaySound(LCR_SOUND_CLICK);
}
else if (events & LCR_RACING_EVENT_FINISHED)
else if (events & LCR_RACING_EVENT_FINISHED &&
LCR_game.state != LCR_GAME_STATE_RUN_FINISHED)
{
LCR_LOG1("finished");
LCR_audioPlaySound(LCR_SOUND_CLICK);