mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-03-18 02:50:37 +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
|
||||
%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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue