MudEngine:
- Some minor changes to removal of unwanted characters in commands.
This commit is contained in:
parent
29cdae3b1a
commit
bc05eba56e
2 changed files with 11 additions and 3 deletions
|
@ -42,8 +42,13 @@ namespace MudEngine.Commands
|
|||
|
||||
if (!foundName)
|
||||
{
|
||||
isLegal = true;
|
||||
player.Name = input;
|
||||
if (input == "")
|
||||
continue;
|
||||
else
|
||||
{
|
||||
isLegal = true;
|
||||
player.Name = input;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue