HOOK_WORLD_STARTED now gets called when the CreateAndInitializeWorld function is used.
This commit is contained in:
parent
e03e8b7b30
commit
5a39dff904
@ -309,6 +309,7 @@ cWorld * cRoot::CreateAndInitializeWorld(const AString & a_WorldName)
|
||||
m_WorldsByName[a_WorldName] = NewWorld;
|
||||
NewWorld->Start();
|
||||
NewWorld->InitializeSpawn();
|
||||
m_PluginManager->CallHookWorldStarted(*NewWorld);
|
||||
return NewWorld;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user