diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2025-07-06 12:15:59 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-06 12:15:59 -0600 |
| commit | 855761822cb50a1a3c1d128bb08ebd1dae8a013c (patch) | |
| tree | 180b3486d083c003d154ed8a158dac3c2ca7d37c /src | |
| parent | eb6e4bc8907bf4835f40d00fe85cd5d45185bb62 (diff) | |
Update race_logic.c (#427)
Diffstat (limited to 'src')
| -rw-r--r-- | src/racing/race_logic.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/racing/race_logic.c b/src/racing/race_logic.c index b173ed815..91db35d1f 100644 --- a/src/racing/race_logic.c +++ b/src/racing/race_logic.c @@ -791,15 +791,15 @@ void func_8028F970(void) { } if (gEnableDebugMode) { - if (gModeSelection == BATTLE) { - // do stuff? - } else { + if (gModeSelection != BATTLE) { // Skip laps if (gControllerOne->buttonPressed & U_JPAD) { gLapCountByPlayerId[0] = 2; + play_sound2(SOUND_MENU_OPTION); } if (gControllerOne->buttonPressed & R_JPAD) { gLapCountByPlayerId[0] = 2; gLapCountByPlayerId[1] = 2; + play_sound2(SOUND_MENU_OPTION); } if (gControllerOne->buttonPressed & D_JPAD) { gLapCountByPlayerId[0] = 2; @@ -810,6 +810,7 @@ void func_8028F970(void) { gLapCountByPlayerId[5] = 2; gLapCountByPlayerId[6] = 2; gLapCountByPlayerId[7] = 2; + play_sound2(SOUND_MENU_OPTION); } } } |
