Primarily a bug fix check-in

This commit is contained in:
Scionwest_cp 2012-03-10 14:23:13 -08:00
parent bcd9f46b0a
commit 9b475691d5
10 changed files with 35 additions and 48 deletions

View file

@ -46,7 +46,6 @@ namespace MudEngine.GameScripts.Commands
//character creation process.
if (callingType != "Login")
{
character.SendMessage("Invalid Command Used.");
return false;
}

View file

@ -25,7 +25,7 @@ namespace MudEngine.GameScripts.Commands
public bool Execute(string command, StandardCharacter character)
{
return false;
return true;
}
}
}

View file

@ -51,14 +51,13 @@ namespace MudEngine.GameScripts.Commands
StandardCharacter target = game.Server.ConnectionManager.GetConnectedCharacter(names[0].ToLower());
this.ApplyRole(character, target);
return true;
}
else
{
character.SendMessage("Invalid Command Used.");
return true;
return false;
}
return false;
}
public void ApplyRole(StandardCharacter admin, StandardCharacter target)

View file

@ -40,7 +40,6 @@ namespace MudEngine.GameScripts.Commands
{
//Since a non-admin character attempted this command,
//tell them they used a invalid command
character.SendMessage("Invalid command used.");
return false;
}
}