Skip to content

Commit

Permalink
If ranked is live, disable invite button
Browse files Browse the repository at this point in the history
  • Loading branch information
geneotech committed Jul 31, 2024
1 parent 63cd76d commit a7f30d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/application/setups/client/client_setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,10 @@ client_setup::client_setup(
}

std::string client_setup::get_browser_location() const {
if (is_ranked_live_or_starting()) {
return "";
}

return typesafe_sprintf("game/%x", connect_string);
}

Expand Down

0 comments on commit a7f30d9

Please sign in to comment.