mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-14 15:57:08 +01:00
Move routine processing outside the core class.
This commit is contained in:
1 parent
86297882d5
commit
b9b688581b
2 files changed
+4
-6
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user