engine: fix gameinfo parsing

This commit is contained in:
Aimless Wanderer 2019-10-04 11:10:12 +03:00 committed by Alibek Omarov
parent ac5bb86301
commit 409eee3bb4
1 changed files with 1 additions and 1 deletions

View File

@ -1565,7 +1565,7 @@ void FS_ParseGenericGameInfo( gameinfo_t *GameInfo, const char *buf, const qbool
pfile = COM_ParseFile( pfile, token );
GameInfo->max_edicts = Q_atoi( token );
}
else if( !Q_stricmp( token, "mpentity" ))
else if( !Q_stricmp( token, isGameInfo ? "mp_entity" : "mpentity" ))
{
pfile = COM_ParseFile( pfile, GameInfo->mp_entity );
}