Skip to content

Commit

Permalink
online: Fix going casual or ranked with a game password
Browse files Browse the repository at this point in the history
  • Loading branch information
sgadrat committed Mar 27, 2024
1 parent a074ff2 commit de1f7f0
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -1256,6 +1256,7 @@ static void next_screen() {
break;
}
}
clear_game_password();
*network_ranked = 0;
wrap_change_global_game_state(GAME_STATE_CHARACTER_SELECTION);
break;
Expand All @@ -1264,6 +1265,7 @@ static void next_screen() {
password_login(0);
}
if (*network_logged == LOGIN_LOGGED) {
clear_game_password();
*network_ranked = 1;
wrap_change_global_game_state(GAME_STATE_CHARACTER_SELECTION);
}
Expand Down

0 comments on commit de1f7f0

Please sign in to comment.