Skip to content

Commit

Permalink
Update l4dtoolz_mm.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
accelerator74 committed May 15, 2024
1 parent e1a6182 commit e5e9bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l4dtoolz_mm.cpp
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ void l4dtoolz::OnChangeUnreserved ( IConVar *var, const char *pOldValue, float f
}
if(new_value != old_value) {
if(new_value == 1) {
engine->ServerCommand("sv_allow_lobby_connect_only 0\n");
g_pCVar->FindVar("sv_allow_lobby_connect_only")->SetValue(0);
}
}
}

0 comments on commit e5e9bac

Please sign in to comment.