mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-16 08:34:43 +00:00
Safer
This commit is contained in:
parent
66893496b9
commit
d216d8ff84
1 changed files with 7 additions and 1 deletions
|
|
@ -805,12 +805,18 @@ 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 );
|
||||||
|
|
||||||
|
//Changed to allow botskins
|
||||||
|
%temp = detag( %skin );
|
||||||
|
if(%temp $= "")
|
||||||
|
%client.skin = addTaggedString( "base" );
|
||||||
|
else
|
||||||
%client.skin = addTaggedString( %skin );
|
%client.skin = addTaggedString( %skin );
|
||||||
|
|
||||||
%client.voice = %voice;
|
%client.voice = %voice;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue