Primarily a bug fix check-in
This commit is contained in:
parent
bcd9f46b0a
commit
9b475691d5
10 changed files with 35 additions and 48 deletions
|
@ -46,7 +46,6 @@ namespace MudEngine.GameScripts.Commands
|
|||
//character creation process.
|
||||
if (callingType != "Login")
|
||||
{
|
||||
character.SendMessage("Invalid Command Used.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ namespace MudEngine.GameScripts.Commands
|
|||
|
||||
public bool Execute(string command, StandardCharacter character)
|
||||
{
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue