From 0f7b24a8c00490369b5352b855514d3cc5873896 Mon Sep 17 00:00:00 2001 From: Pavel Penev Date: Wed, 6 Dec 2023 13:32:15 +0200 Subject: [PATCH] Made SupportPower abstract Because it really needs to be. --- OpenRA.Mods.Common/Traits/SupportPowers/SupportPower.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/SupportPowers/SupportPower.cs b/OpenRA.Mods.Common/Traits/SupportPowers/SupportPower.cs index c6528aa13f..9519127b48 100644 --- a/OpenRA.Mods.Common/Traits/SupportPowers/SupportPower.cs +++ b/OpenRA.Mods.Common/Traits/SupportPowers/SupportPower.cs @@ -158,13 +158,13 @@ namespace OpenRA.Mods.Common.Traits protected SupportPowerInfo() { OrderName = GetType().Name + "Order"; } } - public class SupportPower : PausableConditionalTrait + public abstract class SupportPower : PausableConditionalTrait { public readonly Actor Self; readonly SupportPowerInfo info; protected RadarPing ping; - public SupportPower(Actor self, SupportPowerInfo info) + protected SupportPower(Actor self, SupportPowerInfo info) : base(info) { Self = self;