core/smn_hudtext.cpp
changeset 4060 b4484bd36c22
parent 3872 4c93f74cae51
     1.1 --- a/core/smn_hudtext.cpp	Sun Aug 25 09:59:13 2013 -0400
     1.2 +++ b/core/smn_hudtext.cpp	Sun Aug 25 10:15:35 2013 -0400
     1.3 @@ -414,6 +414,7 @@
     1.4  		return pContext->ThrowNativeError("Client %d is not in-game", client);
     1.5  	}
     1.6  
     1.7 +	g_SourceMod.SetGlobalTarget(client);
     1.8  	g_SourceMod.FormatString(message_buffer, sizeof(message_buffer), pContext, params, 3);
     1.9  	if (pContext->GetLastNativeError() != SP_ERROR_NONE)
    1.10  	{
    1.11 @@ -486,6 +487,7 @@
    1.12  		return pContext->ThrowNativeError("Client %d is not in-game", client);
    1.13  	}
    1.14  
    1.15 +	g_SourceMod.SetGlobalTarget(client);
    1.16  	g_SourceMod.FormatString(message_buffer, sizeof(message_buffer), pContext, params, 3);
    1.17  	if (pContext->GetLastNativeError() != SP_ERROR_NONE)
    1.18  	{