Move routine processing outside the core class.

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

No files matched your search

-6
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);
}