Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
gdeda committed Jul 21, 2023
1 parent 02f8b8f commit d8a3ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/scenes/arena.c
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ void arena_har_defeat_hook(int player_id, scene *scene) {
player_winner->pilot->money += player_loser->pilot->winnings;
scene_youwin_anim_start(scene->gs);
} else {
if (player_loser->pilot->rank == player_loser->pilot->enemies_ex_unranked)
if (player_loser->pilot->rank <= player_loser->pilot->enemies_ex_unranked)
player_loser->pilot->rank++;
scene_youlose_anim_start(scene->gs);
}
Expand Down

0 comments on commit d8a3ef7

Please sign in to comment.