diff --git a/online_match_manager.js b/online_match_manager.js index 9fb24d4..2c108cb 100644 --- a/online_match_manager.js +++ b/online_match_manager.js @@ -34,7 +34,9 @@ class OnlineMatchManager this.match_button_div = tmp[0]; this.match_button_option = tmp[2]; - if (this.game_server_connection.temporary_session || this.game_server_connection.is_friend(this.online_opponent.get_name())) + // Note: unranked matches means that not both users have a full account, so they cannot be friends + + if (!this.ranked || this.game_server_connection.is_friend(this.online_opponent.get_name())) { this.match_button_option.disabled = true; }