diff --git a/OpenRA.Mods.Cnc/Traits/Render/WithBuildingBib.cs b/OpenRA.Mods.Cnc/Traits/Render/WithBuildingBib.cs index 271717496c..b57b7db1e9 100644 --- a/OpenRA.Mods.Cnc/Traits/Render/WithBuildingBib.cs +++ b/OpenRA.Mods.Cnc/Traits/Render/WithBuildingBib.cs @@ -73,7 +73,7 @@ namespace OpenRA.Mods.Cnc.Traits } } - IEnumerable IActorPreviewInitInfo.ActorPreviewInits(ActorInfo ai, ActorPreviewType type) + IEnumerable IActorPreviewInitInfo.ActorPreviewInits(ActorInfo ai, ActorPreviewType type) { yield return new HideBibPreviewInit(); } diff --git a/OpenRA.Mods.Cnc/Traits/TDGunboat.cs b/OpenRA.Mods.Cnc/Traits/TDGunboat.cs index d3186c5599..cad845c3f3 100644 --- a/OpenRA.Mods.Cnc/Traits/TDGunboat.cs +++ b/OpenRA.Mods.Cnc/Traits/TDGunboat.cs @@ -33,7 +33,7 @@ namespace OpenRA.Mods.Cnc.Traits public int GetInitialFacing() { return InitialFacing; } - IEnumerable IActorPreviewInitInfo.ActorPreviewInits(ActorInfo ai, ActorPreviewType type) + IEnumerable IActorPreviewInitInfo.ActorPreviewInits(ActorInfo ai, ActorPreviewType type) { yield return new FacingInit(PreviewFacing); } diff --git a/OpenRA.Mods.Common/Traits/Air/Aircraft.cs b/OpenRA.Mods.Common/Traits/Air/Aircraft.cs index 4ec3eb1094..2221a6e24c 100644 --- a/OpenRA.Mods.Common/Traits/Air/Aircraft.cs +++ b/OpenRA.Mods.Common/Traits/Air/Aircraft.cs @@ -150,7 +150,7 @@ namespace OpenRA.Mods.Common.Traits public override object Create(ActorInitializer init) { return new Aircraft(init, this); } - IEnumerable IActorPreviewInitInfo.ActorPreviewInits(ActorInfo ai, ActorPreviewType type) + IEnumerable IActorPreviewInitInfo.ActorPreviewInits(ActorInfo ai, ActorPreviewType type) { yield return new FacingInit(PreviewFacing); } diff --git a/OpenRA.Mods.Common/Traits/Husk.cs b/OpenRA.Mods.Common/Traits/Husk.cs index 2c00487f73..c907fe6d42 100644 --- a/OpenRA.Mods.Common/Traits/Husk.cs +++ b/OpenRA.Mods.Common/Traits/Husk.cs @@ -25,7 +25,7 @@ namespace OpenRA.Mods.Common.Traits [Desc("Facing to use for actor previews (map editor, color picker, etc)")] public readonly int PreviewFacing = 96; - IEnumerable IActorPreviewInitInfo.ActorPreviewInits(ActorInfo ai, ActorPreviewType type) + IEnumerable IActorPreviewInitInfo.ActorPreviewInits(ActorInfo ai, ActorPreviewType type) { yield return new FacingInit(PreviewFacing); } diff --git a/OpenRA.Mods.Common/Traits/Mobile.cs b/OpenRA.Mods.Common/Traits/Mobile.cs index 575f14550a..bb01733bbb 100644 --- a/OpenRA.Mods.Common/Traits/Mobile.cs +++ b/OpenRA.Mods.Common/Traits/Mobile.cs @@ -60,7 +60,7 @@ namespace OpenRA.Mods.Common.Traits [Desc("Boolean expression defining the condition under which this actor cannot be nudged by other actors.")] public readonly BooleanExpression ImmovableCondition = null; - IEnumerable IActorPreviewInitInfo.ActorPreviewInits(ActorInfo ai, ActorPreviewType type) + IEnumerable IActorPreviewInitInfo.ActorPreviewInits(ActorInfo ai, ActorPreviewType type) { yield return new FacingInit(PreviewFacing); } diff --git a/OpenRA.Mods.Common/Traits/Turreted.cs b/OpenRA.Mods.Common/Traits/Turreted.cs index 395df8ad15..c8ffef2252 100644 --- a/OpenRA.Mods.Common/Traits/Turreted.cs +++ b/OpenRA.Mods.Common/Traits/Turreted.cs @@ -36,7 +36,7 @@ namespace OpenRA.Mods.Common.Traits [Desc("Display order for the turret facing slider in the map editor")] public readonly int EditorTurretFacingDisplayOrder = 4; - IEnumerable IActorPreviewInitInfo.ActorPreviewInits(ActorInfo ai, ActorPreviewType type) + IEnumerable IActorPreviewInitInfo.ActorPreviewInits(ActorInfo ai, ActorPreviewType type) { // HACK: The ActorInit system does not support multiple instances of the same type // Make sure that we only return one TurretFacingInit, even for actors with multiple turrets diff --git a/OpenRA.Mods.Common/TraitsInterfaces.cs b/OpenRA.Mods.Common/TraitsInterfaces.cs index fd4200d5e8..8ff9541cda 100644 --- a/OpenRA.Mods.Common/TraitsInterfaces.cs +++ b/OpenRA.Mods.Common/TraitsInterfaces.cs @@ -400,7 +400,7 @@ namespace OpenRA.Mods.Common.Traits [RequireExplicitImplementation] public interface IActorPreviewInitInfo : ITraitInfoInterface { - IEnumerable ActorPreviewInits(ActorInfo ai, ActorPreviewType type); + IEnumerable ActorPreviewInits(ActorInfo ai, ActorPreviewType type); } public interface IMove