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:
@@ -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