Skip to content

Commit 90d3f84

Browse files
committed
Fix an issue with TerrainType missing the IArtConfigContainer interface
1 parent 6d6bbf0 commit 90d3f84

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/TSMapEditor/Models/TerrainType.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace TSMapEditor.Models
77
{
8-
public class TerrainType : GameObjectType
8+
public class TerrainType : GameObjectType, IArtConfigContainer
99
{
1010
public TerrainType(string iniName) : base(iniName)
1111
{
@@ -14,6 +14,7 @@ public TerrainType(string iniName) : base(iniName)
1414
public override RTTIType WhatAmI() => RTTIType.TerrainType;
1515

1616
public TerrainArtConfig ArtConfig { get; } = new TerrainArtConfig();
17+
public IArtConfig GetArtConfig() => ArtConfig;
1718

1819
public TerrainOccupation TemperateOccupationBits { get; set; }
1920
public TerrainOccupation SnowOccupationBits { get; set; }

0 commit comments

Comments
 (0)