Commit a510d2e8 authored by Katelyn Gigante's avatar Katelyn Gigante
Browse files

This code was a mistake

parent 929504b1
......@@ -613,7 +613,6 @@ namespace MomentaryMeeting.Game
List<Prompt> prompts = _database.Locations[player.LocationName].Prompt;
sb.Append(EvaluatePrompt(prompts));
var neighbours = _arrangementGenerator.GetNeighbours(player.LocationName);
var needsNewlineBeforeAutoExit = true;
AutoExitForDirection(RelativeDirection.Forward);
AutoExitForDirection(RelativeDirection.Right);
AutoExitForDirection(RelativeDirection.Back);
......@@ -638,11 +637,6 @@ namespace MomentaryMeeting.Game
var target = _database.Locations[neighbours.GetNeighbour(dir)];
if (target.ViewFrom != null && target.ViewFrom.ContainsKey(dir))
{
if (needsNewlineBeforeAutoExit)
{
sb.AppendLine();
needsNewlineBeforeAutoExit = false;
}
sb.AppendLine().Append(EvaluatePrompt(target.ViewFrom[dir]));
}
else if (!string.IsNullOrWhiteSpace(target.ViewFromAny))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment