Skip to content

Commit a5ecc70

Browse files
committed
Fix bug where buildings that had no main shape were not rendered at all
1 parent 258f694 commit a5ecc70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/TSMapEditor/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace TSMapEditor
66
{
77
public static class Constants
88
{
9-
public const string ReleaseVersion = "1.2.3";
9+
public const string ReleaseVersion = "1.2.4";
1010

1111
public static int CellSizeX = 48;
1212
public static int CellSizeY = 24;

src/TSMapEditor/Rendering/ObjectRenderers/ObjectRenderer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void Draw(T gameObject, bool checkInCamera)
6060
{
6161
DrawText(gameObject, false);
6262
}
63-
else if (frame != null)
63+
else
6464
{
6565
Render(gameObject, drawPoint, drawParams);
6666
}

0 commit comments

Comments
 (0)