mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Allow Bot skins
This commit is contained in:
parent
0ae07cdc1f
commit
3c8959482d
|
|
@ -789,12 +789,13 @@ function GameConnection::onConnect( %client, %name, %raceGender, %skin, %voice,
|
|||
else
|
||||
%client.nameBase = %realName;
|
||||
|
||||
//Allow - ChocoTaco
|
||||
// Make sure that the connecting client is not trying to use a bot skin:
|
||||
%temp = detag( %skin );
|
||||
if ( %temp $= "basebot" || %temp $= "basebbot" )
|
||||
%client.skin = addTaggedString( "base" );
|
||||
else
|
||||
%client.skin = addTaggedString( %skin );
|
||||
//%temp = detag( %skin );
|
||||
//if ( %temp $= "basebot" || %temp $= "basebbot" )
|
||||
// %client.skin = addTaggedString( "base" );
|
||||
//else
|
||||
%client.skin = addTaggedString( %skin );
|
||||
|
||||
%client.voice = %voice;
|
||||
%client.voiceTag = addtaggedString(%voice);
|
||||
|
|
|
|||
Loading…
Reference in a new issue