mirror of
https://github.com/accelerator74/l4dtoolz.git
synced 2025-07-18 17:38:04 +08:00
Update l4dtoolz_mm.cpp
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user