Allow Friends Into Locked Lobby (#1747)
This commit is contained in:
@ -116,10 +116,17 @@ namespace big
|
||||
|
||||
ImGui::BeginDisabled(!g_player_service->get_self()->is_host());
|
||||
|
||||
ImGui::Checkbox("Lobby Lock", &g.session.lock_session);
|
||||
|
||||
if (ImGui::Checkbox("Lobby Lock", &g.session.lock_session))
|
||||
{
|
||||
ImGui::Checkbox("Allow Friends Into Locked Lobby", &g.session.allow_friends_into_locked_session);
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("Allows Friends to Join Lobby While Locked");
|
||||
}
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("Blocks all players from joining. May not work on some modders.");
|
||||
|
||||
|
||||
ImGui::EndDisabled();
|
||||
|
||||
components::script_patch_checkbox("REVEAL_OTR_PLAYERS"_T, &g.session.decloak_players, "Reveals players that are off the radar");
|
||||
|
Reference in New Issue
Block a user