Populate MaxClients before OnPluginStart is called.

This commit is contained in:
Nicholas Hastings
2015-05-11 19:31:22 -04:00
parent 71cb002bc1
commit 8fc689c89a
3 changed files with 21 additions and 15 deletions
+2
View File
@@ -320,6 +320,8 @@ void SourceModBase::StartSourceMod(bool late)
static bool g_LevelEndBarrier = false;
bool SourceModBase::LevelInit(char const *pMapName, char const *pMapEntities, char const *pOldLevel, char const *pLandmarkName, bool loadGame, bool background)
{
g_Players.MaxPlayersChanged();
/* If we're not loaded... */
if (!g_Loaded)
{