core/smn_halflife.cpp
changeset 1011 b413072540fd
parent 994 a0d587e40030
child 1017 8df42b172692
     1.1 --- a/core/smn_halflife.cpp	Sun Jun 24 18:56:58 2007 +0000
     1.2 +++ b/core/smn_halflife.cpp	Sun Jun 24 19:40:25 2007 +0000
     1.3 @@ -273,6 +273,8 @@
     1.4  		return pContext->ThrowNativeError("Client %d is not in game", client);
     1.5  	}
     1.6  
     1.7 +	g_SourceMod.SetGlobalTarget(client);
     1.8 +
     1.9  	char buffer[192];
    1.10  	g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 2);
    1.11  
    1.12 @@ -296,6 +298,8 @@
    1.13  		return pContext->ThrowNativeError("Client %d is not in game", client);
    1.14  	}
    1.15  
    1.16 +	g_SourceMod.SetGlobalTarget(client);
    1.17 +
    1.18  	char buffer[192];
    1.19  	g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 2);
    1.20