1
0

HOOK_WORLD_STARTED now gets called when the CreateAndInitializeWorld function is used.

This commit is contained in:
STRWarrior 2013-12-11 16:19:38 +01:00
parent e03e8b7b30
commit 5a39dff904

View File

@ -309,6 +309,7 @@ cWorld * cRoot::CreateAndInitializeWorld(const AString & a_WorldName)
m_WorldsByName[a_WorldName] = NewWorld; m_WorldsByName[a_WorldName] = NewWorld;
NewWorld->Start(); NewWorld->Start();
NewWorld->InitializeSpawn(); NewWorld->InitializeSpawn();
m_PluginManager->CallHookWorldStarted(*NewWorld);
return NewWorld; return NewWorld;
} }