From ad136580764905799857fdd446985fc41dc41364 Mon Sep 17 00:00:00 2001 From: michaeldgg2 <119738087+michaeldgg2@users.noreply.github.com> Date: Thu, 1 May 2025 19:30:01 +0200 Subject: [PATCH] Make WithMuzzleOverlay and Info class public --- OpenRA.Mods.Common/Traits/Render/WithMuzzleOverlay.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/Render/WithMuzzleOverlay.cs b/OpenRA.Mods.Common/Traits/Render/WithMuzzleOverlay.cs index 9498feb91e..4c77d956a0 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithMuzzleOverlay.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithMuzzleOverlay.cs @@ -19,7 +19,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits.Render { [Desc("Renders the MuzzleSequence from the Armament trait.")] - sealed class WithMuzzleOverlayInfo : ConditionalTraitInfo, Requires, Requires, Requires + public sealed class WithMuzzleOverlayInfo : ConditionalTraitInfo, Requires, Requires, Requires { [Desc("Ignore the weapon position, and always draw relative to the center of the actor")] public readonly bool IgnoreOffset = false; @@ -27,7 +27,7 @@ namespace OpenRA.Mods.Common.Traits.Render public override object Create(ActorInitializer init) { return new WithMuzzleOverlay(init.Self, this); } } - sealed class WithMuzzleOverlay : ConditionalTrait, INotifyAttack, IRender, ITick + public sealed class WithMuzzleOverlay : ConditionalTrait, INotifyAttack, IRender, ITick { readonly Dictionary visible = []; readonly Dictionary anims = [];