1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-09-18 18:27:18 +02:00

Move routine processing outside the core class.

This commit is contained in:
Sandu Liviu Catalin
2016-05-23 03:54:50 +03:00
parent 86297882d5
commit b9b688581b
2 changed files with 4 additions and 6 deletions

View File

@@ -8,9 +8,6 @@
// ------------------------------------------------------------------------------------------------
namespace SqMod {
// ------------------------------------------------------------------------------------------------
extern void ProcessRoutines();
// ------------------------------------------------------------------------------------------------
void Core::EmitCustomEvent(Int32 group, Int32 header, Object & payload)
{
@@ -186,9 +183,6 @@ void Core::EmitServerShutdown()
// ------------------------------------------------------------------------------------------------
void Core::EmitServerFrame(Float32 elapsed_time)
{
// Update routines
ProcessRoutines();
// Now forward the event
Emit(mOnServerFrame, elapsed_time);
}