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 8, 2024
1 parent 679b6f5 commit e1a6182
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion l4dtoolz_mm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
g_pGameIServer = NULL;
if (!late) {
g_pGameIServer = NULL;
}
} else {
*m_nMaxClientsLimit = 0x20;
const char *pszCmdLineMax;
Expand Down

0 comments on commit e1a6182

Please sign in to comment.