1
0
Fork 0

The server Tick thread ticks PluginManager.

This fixes #104 and #102
This commit is contained in:
madmaxoft 2013-08-17 23:45:58 +02:00
parent 4a3d0fcff5
commit fcfbdee76d
1 changed files with 5 additions and 0 deletions

View File

@ -355,8 +355,13 @@ bool cServer::Tick(float a_Dt)
m_PlayerCount += PlayerCountDiff;
}
// Send the tick to the plugins, as well as let the plugin manager reload, if asked to (issue #102):
cPluginManager::Get()->Tick(a_Dt);
// Let the Root process all the queued commands:
cRoot::Get()->TickCommands();
// Tick all clients not yet assigned to a world:
TickClients(a_Dt);
if (!m_bRestarting)