Skip to content

Commit

Permalink
Allow mod code to access the buildable terrain overlay.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender authored and pchote committed Jul 1, 2021
1 parent 9a587d2 commit c8ab409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenRA.Mods.Common/Traits/World/BuildableTerrainOverlay.cs
Expand Up @@ -17,7 +17,7 @@
namespace OpenRA.Mods.Common.Traits
{
[TraitLocation(SystemActors.EditorWorld)]
class BuildableTerrainOverlayInfo : TraitInfo
public class BuildableTerrainOverlayInfo : TraitInfo
{
[FieldLoader.Require]
public readonly HashSet<string> AllowedTerrainTypes = null;
Expand All @@ -42,7 +42,7 @@ public override object Create(ActorInitializer init)
}
}

class BuildableTerrainOverlay : IRenderAboveWorld, IWorldLoaded, INotifyActorDisposing
public class BuildableTerrainOverlay : IRenderAboveWorld, IWorldLoaded, INotifyActorDisposing
{
readonly BuildableTerrainOverlayInfo info;
readonly World world;
Expand Down

0 comments on commit c8ab409

Please sign in to comment.