Add an upgrade rule

This commit is contained in:
abcdefg30
2016-10-15 18:14:24 +02:00
committed by reaperrr
parent 5e923ff091
commit 880f90345e
5 changed files with 4 additions and 4 deletions

View File

@@ -578,6 +578,10 @@ namespace OpenRA.Mods.Common.UtilityCommands
if (node.Key.StartsWith("UncloakOn", StringComparison.Ordinal))
node.Value.Value = node.Value.Value.Replace("Damage", "Damage, Heal, SelfHeal");
// Removed dead ActorGroupProxy trait
if (engineVersion < 20170318)
node.Value.Nodes.RemoveAll(n => n.Key == "ActorGroupProxy");
UpgradeActorRules(modData, engineVersion, ref node.Value.Nodes, node, depth + 1);
}

View File

@@ -9,7 +9,6 @@ Player:
PowerManager:
AllyRepair:
PlayerResources:
ActorGroupProxy:
DeveloperMode:
BaseAttackNotifier:
Shroud:

View File

@@ -62,7 +62,6 @@ Player:
PlayerResources:
SelectableCash: 2500, 5000, 7000, 10000, 20000
InsufficientFundsNotification: InsufficientFunds
ActorGroupProxy:
DeveloperMode:
BaseAttackNotifier:
Shroud:

View File

@@ -41,7 +41,6 @@ Player:
AllyRepair:
PlayerResources:
InsufficientFundsNotification: InsufficientFunds
ActorGroupProxy:
DeveloperMode:
GpsWatcher:
Shroud:

View File

@@ -41,7 +41,6 @@ Player:
AllyRepair:
PlayerResources:
InsufficientFundsNotification: InsufficientFunds
ActorGroupProxy:
DeveloperMode:
Enabled: true
Shroud: