Update l4dtoolz_mm.cpp

This commit is contained in:
Accelerator 2024-05-15 05:19:40 +03:00
parent e1a6182665
commit e5e9bac1c0

View File

@ -54,7 +54,7 @@ void l4dtoolz::OnChangeUnreserved ( IConVar *var, const char *pOldValue, float f
} }
if(new_value != old_value) { if(new_value != old_value) {
if(new_value == 1) { if(new_value == 1) {
engine->ServerCommand("sv_allow_lobby_connect_only 0\n"); g_pCVar->FindVar("sv_allow_lobby_connect_only")->SetValue(0);
} }
} }
} }