mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Show SmurfNames correctly
This commit is contained in:
parent
94a2ce8f39
commit
30ef1564ef
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue