mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
[Server] Remove hardcoded debug messages when using script callbacks
This commit is contained in:
parent
df0f9b0f5e
commit
51fd937250
@ -91,9 +91,6 @@ public:
|
|||||||
if (!callback)
|
if (!callback)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
||||||
LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Called function \"%s\"", data.name);
|
|
||||||
|
|
||||||
if (script->script_type == SCRIPT_CPP)
|
if (script->script_type == SCRIPT_CPP)
|
||||||
result = reinterpret_cast<FunctionEllipsis<CallBackReturn<I>>>(callback)(std::forward<Args>(args)...);
|
result = reinterpret_cast<FunctionEllipsis<CallBackReturn<I>>>(callback)(std::forward<Args>(args)...);
|
||||||
#if defined (ENABLE_PAWN)
|
#if defined (ENABLE_PAWN)
|
||||||
@ -134,8 +131,6 @@ public:
|
|||||||
if (!callback)
|
if (!callback)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Called function \"%s\"", data.name);
|
|
||||||
|
|
||||||
if (script->script_type == SCRIPT_CPP)
|
if (script->script_type == SCRIPT_CPP)
|
||||||
reinterpret_cast<FunctionEllipsis<CallBackReturn<I>>>(callback)(std::forward<Args>(args)...);
|
reinterpret_cast<FunctionEllipsis<CallBackReturn<I>>>(callback)(std::forward<Args>(args)...);
|
||||||
#if defined (ENABLE_PAWN)
|
#if defined (ENABLE_PAWN)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user