Update l4dtoolz_mm.cpp

This commit is contained in:
Accelerator 2024-05-08 18:27:12 +03:00
parent 679b6f54c0
commit e1a6182665

View File

@ -119,7 +119,9 @@ bool l4dtoolz::Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bool
int* m_nMaxClientsLimit = (int*)(((uint**)g_pGameIServer)+maxplayers_offs);
if (*m_nMaxClientsLimit != 0x12) {
Warning("Couldn't patch maxplayers\n");
if (!late) {
g_pGameIServer = NULL;
}
} else {
*m_nMaxClientsLimit = 0x20;
const char *pszCmdLineMax;