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:
Scionwest_cp 2010-07-25 22:29:24 -07:00
parent e145d57682
commit c965d5e97a
4 changed files with 20 additions and 19 deletions

View file

@ -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 "";
}