This commit is contained in:
ChocoTaco 2021-06-05 13:50:06 -04:00
parent 66893496b9
commit d216d8ff84

View file

@ -805,12 +805,18 @@ 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 );
//Changed to allow botskins
%temp = detag( %skin );
if(%temp $= "")
%client.skin = addTaggedString( "base" );
else
%client.skin = addTaggedString( %skin );
%client.voice = %voice;