mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 23:26:40 -08:00
CSHARP-16 Fix printing bug
This commit is contained in:
@@ -10,5 +10,11 @@ internal class Tail : Part
|
||||
{
|
||||
}
|
||||
|
||||
public void AppendTo(StringBuilder builder) => builder.AppendLine("TTTTTB B");
|
||||
public void AppendTo(StringBuilder builder)
|
||||
{
|
||||
if (IsPresent)
|
||||
{
|
||||
builder.AppendLine("TTTTTB B");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user