1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00

Disable traceback for frame event completely.

I forgot to disable the traceback for the server callback.
This commit is contained in:
Sandu Liviu Catalin 2019-06-02 18:02:17 +03:00
parent 6e6baf9b2b
commit fc18a3c6af

View File

@ -192,9 +192,9 @@ static void OnServerFrame(float elapsed_time)
// Attempt to forward the event // Attempt to forward the event
try try
{ {
SQMOD_SV_EV_TRACEBACK("[TRACE<] OnServerFrame") //SQMOD_SV_EV_TRACEBACK("[TRACE<] OnServerFrame")
Core::Get().EmitServerFrame(elapsed_time); Core::Get().EmitServerFrame(elapsed_time);
SQMOD_SV_EV_TRACEBACK("[TRACE>] OnServerFrame") //SQMOD_SV_EV_TRACEBACK("[TRACE>] OnServerFrame")
} }
SQMOD_CATCH_EVENT_EXCEPTION(OnServerFrame) SQMOD_CATCH_EVENT_EXCEPTION(OnServerFrame)
// Process routines and tasks, if any // Process routines and tasks, if any