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;