Skip to content

Commit b7bb77c

Browse files
committed
Fix crash when rendering aircraft
1 parent 91fd1e3 commit b7bb77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TSMapEditor/Rendering/MapView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ public void DrawTerrainTileAndRegisterObjects(MapTile tile)
632632
{
633633
for (int i = 0; i < tile.Aircraft.Count; i++)
634634
{
635-
AddGameObjectToRender(tile.Infantry[i]);
635+
AddGameObjectToRender(tile.Aircraft[i]);
636636
}
637637
}
638638

0 commit comments

Comments
 (0)