[Server] Remove hardcoded debug messages when using script callbacks

sol2-server-rewrite
David Cernat 7 years ago
parent df0f9b0f5e
commit 51fd937250

@ -91,9 +91,6 @@ public:
if (!callback)
continue;
LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Called function \"%s\"", data.name);
if (script->script_type == SCRIPT_CPP)
result = reinterpret_cast<FunctionEllipsis<CallBackReturn<I>>>(callback)(std::forward<Args>(args)...);
#if defined (ENABLE_PAWN)
@ -134,8 +131,6 @@ public:
if (!callback)
continue;
LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Called function \"%s\"", data.name);
if (script->script_type == SCRIPT_CPP)
reinterpret_cast<FunctionEllipsis<CallBackReturn<I>>>(callback)(std::forward<Args>(args)...);
#if defined (ENABLE_PAWN)

Loading…
Cancel
Save