Stopped crash when restarting a game
This was SVN commit r1926.
This commit is contained in:
parent
a52d392f4f
commit
3776f91aeb
@ -18,7 +18,8 @@ CLightEnv g_LightEnv;
|
||||
|
||||
void CWorld::Initialize(CGameAttributes *pAttribs)
|
||||
{
|
||||
g_EntityTemplateCollection.loadTemplates();
|
||||
// TODO: Find a better way of handling these global things
|
||||
ONCE(g_EntityTemplateCollection.loadTemplates());
|
||||
|
||||
// Load the map, if one was specified
|
||||
if (pAttribs->m_MapFile.Length())
|
||||
|
Loading…
Reference in New Issue
Block a user