mirror of
https://github.com/accelerator74/l4dtoolz.git
synced 2024-12-22 14:37:26 +08:00
Update l4dtoolz_mm.cpp
This commit is contained in:
parent
e1a6182665
commit
e5e9bac1c0
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user