From e552466886d48514ca97c0a115a8d8caa2d0ac1f Mon Sep 17 00:00:00 2001 From: Vladimir <47463683+Wend4r@users.noreply.github.com> Date: Sun, 21 Mar 2021 08:24:06 +0300 Subject: [PATCH] core: Call SetGlobalTarget in PrintToConsole (#1448) Issue #1443 --- core/logic/smn_console.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/logic/smn_console.cpp b/core/logic/smn_console.cpp index 5ee26926..d25c4de2 100644 --- a/core/logic/smn_console.cpp +++ b/core/logic/smn_console.cpp @@ -127,6 +127,8 @@ static cell_t sm_PrintToConsole(IPluginContext *pCtx, const cell_t *params) } } + g_pSM->SetGlobalTarget(index); + char buffer[1024]; char *fmt; int arg = 3;