Show SmurfNames correctly

This commit is contained in:
ChocoTaco1 2020-08-12 14:50:30 -04:00
parent 94a2ce8f39
commit 30ef1564ef
2 changed files with 6 additions and 2 deletions

View file

@ -181,7 +181,11 @@ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %
%client.adminVoteSet = 0;
return;
}
// Show smurf names correctly
if(%client.isSmurf)
%client.nameBase = stripChars( detag( getTaggedString( %client.name ) ), "\cp\co\c6\c7\c8\c9" );
%teamSpecific = 0;
switch$(%typeName)
{

View file

@ -1210,7 +1210,7 @@ function cmdAutoKickObserver(%client, %key) // Edit GG
if ( isObject( %client ) )
{
messageAll('MsgAdminForce', '\c2%1 has left the game. (Observer Timeout)', %client.nameBase);
messageAll('MsgAdminForce', '\c2%1 has left the game. (Observer Timeout)', %client.name);
%client.setDisconnectReason( "Observer Timeout" );
%client.schedule(700, "delete");