MudEngine:
- Fixed BaseCharacter not returning content to the game loop - Fixed Zone.LinkRooms linking rooms backwards. MudGame: - Minor tweaks to the BuildRealms method - Minor tweaks to the Program.Main method.
This commit is contained in:
parent
e145d57682
commit
c965d5e97a
4 changed files with 20 additions and 19 deletions
|
@ -76,16 +76,16 @@ namespace MudEngine.GameObjects.Characters
|
|||
//the command off to the command engine for execution.
|
||||
CommandResults result = CommandEngine.ExecuteCommand(command, this);
|
||||
|
||||
|
||||
if (result.Result is string[])
|
||||
if (result.Result != null)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
foreach (string item in result.Result)
|
||||
sb.AppendLine(item);
|
||||
|
||||
foreach (object item in result.Result)
|
||||
{
|
||||
if (item is string)
|
||||
sb.AppendLine(item.ToString());
|
||||
}
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue