mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-14 15:44:34 +00:00
Allow Bot skins
This commit is contained in:
parent
0ae07cdc1f
commit
3c8959482d
1 changed files with 6 additions and 5 deletions
|
|
@ -789,12 +789,13 @@ function GameConnection::onConnect( %client, %name, %raceGender, %skin, %voice,
|
||||||
else
|
else
|
||||||
%client.nameBase = %realName;
|
%client.nameBase = %realName;
|
||||||
|
|
||||||
|
//Allow - ChocoTaco
|
||||||
// Make sure that the connecting client is not trying to use a bot skin:
|
// Make sure that the connecting client is not trying to use a bot skin:
|
||||||
%temp = detag( %skin );
|
//%temp = detag( %skin );
|
||||||
if ( %temp $= "basebot" || %temp $= "basebbot" )
|
//if ( %temp $= "basebot" || %temp $= "basebbot" )
|
||||||
%client.skin = addTaggedString( "base" );
|
// %client.skin = addTaggedString( "base" );
|
||||||
else
|
//else
|
||||||
%client.skin = addTaggedString( %skin );
|
%client.skin = addTaggedString( %skin );
|
||||||
|
|
||||||
%client.voice = %voice;
|
%client.voice = %voice;
|
||||||
%client.voiceTag = addtaggedString(%voice);
|
%client.voiceTag = addtaggedString(%voice);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue