Move marking of mapstarted to before calling of map start notifs. (bug 5119, r=asherkin).
This commit is contained in:
parent
66e9ef9cf6
commit
95fdeb03c3
@ -250,6 +250,9 @@ void PlayerManager::OnServerActivate(edict_t *pEdictList, int edictCount, int cl
|
||||
|
||||
g_PluginSys.SyncMaxClients(m_maxClients);
|
||||
}
|
||||
|
||||
g_OnMapStarted = true;
|
||||
|
||||
g_Extensions.CallOnCoreMapStart(pEdictList, edictCount, m_maxClients);
|
||||
m_onActivate->Execute(NULL);
|
||||
m_onActivate2->Execute(NULL);
|
||||
@ -263,8 +266,6 @@ void PlayerManager::OnServerActivate(edict_t *pEdictList, int edictCount, int cl
|
||||
}
|
||||
}
|
||||
|
||||
g_OnMapStarted = true;
|
||||
|
||||
SMGlobalClass *cls = SMGlobalClass::head;
|
||||
while (cls)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user