Skip to content

Commit

Permalink
Always play "you lose" in demo mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Nopey authored and mrannanj committed Jan 6, 2025
1 parent cc7d724 commit c2fec6b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/game/scenes/arena.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,10 @@ void arena_har_defeat_hook(int player_id, scene *scene) {
} else if(player_winner->ctrl->type == CTRL_TYPE_NETWORK && player_loser->ctrl->type != CTRL_TYPE_NETWORK) {
scene_youlose_anim_start(scene->gs);
} else {
if(!is_singleplayer(gs)) {
if(is_demoplay(gs)) {
// in demo mode, "you lose" should always be displayed
scene_youlose_anim_start(scene->gs);
} else if(!is_singleplayer(gs)) {
// XXX in two player mode, "you win" should always be displayed
scene_youwin_anim_start(scene->gs);
} else {
Expand Down

0 comments on commit c2fec6b

Please sign in to comment.