Remove RearmBuildings from Aircraft and Minelayer
In favor of using Rearmable trait.
This commit is contained in:
@@ -21,10 +21,9 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Cnc.Traits
|
||||
{
|
||||
public class MinelayerInfo : ITraitInfo
|
||||
public class MinelayerInfo : ITraitInfo, Requires<RearmableInfo>
|
||||
{
|
||||
[ActorReference] public readonly string Mine = "minv";
|
||||
[ActorReference] public readonly HashSet<string> RearmBuildings = new HashSet<string> { "fix" };
|
||||
|
||||
public readonly string AmmoPoolName = "primary";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user