Skip to content

Commit a7f30d9

Browse files
committed
If ranked is live, disable invite button
1 parent 63cd76d commit a7f30d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/application/setups/client/client_setup.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,10 @@ client_setup::client_setup(
800800
}
801801

802802
std::string client_setup::get_browser_location() const {
803+
if (is_ranked_live_or_starting()) {
804+
return "";
805+
}
806+
803807
return typesafe_sprintf("game/%x", connect_string);
804808
}
805809

0 commit comments

Comments
 (0)