core/sourcemod.cpp
changeset 1770 9c545310f947
parent 1729 0f60cc4ce8bb
child 1904 baa051d23eef
     1.1 --- a/core/sourcemod.cpp	Thu Dec 06 02:25:35 2007 +0000
     1.2 +++ b/core/sourcemod.cpp	Thu Dec 06 03:28:02 2007 +0000
     1.3 @@ -281,6 +281,11 @@
     1.4  	enginePatch = SH_GET_CALLCLASS(engine);
     1.5  	gamedllPatch = SH_GET_CALLCLASS(gamedll);
     1.6  
     1.7 +	g_ShareSys.Initialize();
     1.8 +
     1.9 +	/* Make the global core identity */
    1.10 +	g_pCoreIdent = g_ShareSys.CreateCoreIdentity();
    1.11 +
    1.12  	/* Notify! */
    1.13  	SMGlobalClass *pBase = SMGlobalClass::head;
    1.14  	while (pBase)
    1.15 @@ -289,9 +294,6 @@
    1.16  		pBase = pBase->m_pGlobalClassNext;
    1.17  	}
    1.18  
    1.19 -	/* Make the global core identity */
    1.20 -	g_pCoreIdent = g_ShareSys.CreateCoreIdentity();
    1.21 -
    1.22  	/* Notify! */
    1.23  	pBase = SMGlobalClass::head;
    1.24  	while (pBase)