Make yaml node resolving optional
This commit is contained in:
committed by
Matthias Mailänder
parent
d4e6815f64
commit
462a3ef3c0
@@ -14,7 +14,7 @@ using System.Linq;
|
||||
|
||||
namespace OpenRA.Mods.Common.UpdateRules.Rules
|
||||
{
|
||||
public class UnhardcodeSquadManager : UpdateRule
|
||||
public class UnhardcodeSquadManager : UpdateRule, IBeforeUpdateActors
|
||||
{
|
||||
readonly List<MiniYamlNode> addNodes = new();
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace OpenRA.Mods.Common.UpdateRules.Rules
|
||||
|
||||
public override string Description => "AirUnitsTypes and ProtectionTypes were added.";
|
||||
|
||||
public override IEnumerable<string> BeforeUpdateActors(ModData modData, List<MiniYamlNode> resolvedActors)
|
||||
public IEnumerable<string> BeforeUpdateActors(ModData modData, List<MiniYamlNode> resolvedActors)
|
||||
{
|
||||
var aircraft = new List<string>();
|
||||
var vips = new List<string>();
|
||||
|
||||
Reference in New Issue
Block a user