Add an upgrade rule.

This commit is contained in:
Paul Chote
2015-04-27 19:46:33 +12:00
parent 614f96046c
commit 94f22638be
4 changed files with 4 additions and 4 deletions

View File

@@ -872,6 +872,10 @@ namespace OpenRA.Mods.Common.UtilityCommands
}
}
if (engineVersion < 201504277)
if (node.Key.StartsWith("WithRotor"))
node.Value.Nodes.RemoveAll(p => p.Key == "Id");
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}

View File

@@ -30,7 +30,6 @@ TRAN:
Sequence: rotor2
GroundSequence: slow-rotor2
WithRotor@SECONDARY:
Id: rotor_2
Offset: 597,0,85
Cargo:
Types: Infantry
@@ -231,7 +230,6 @@ TRAN.Husk:
WithRotor@PRIMARY:
Offset: -597,0,171
WithRotor@SECONDARY:
Id: rotor_2
Offset: 597,0,85
RenderUnit:
Image: tran

View File

@@ -210,7 +210,6 @@ TRAN:
Sequence: rotor2
GroundSequence: slow-rotor2
WithRotor@SECONDARY:
Id: rotor_2
Offset: 597,0,213
Cargo:
Types: Infantry

View File

@@ -94,7 +94,6 @@ TRAN.Husk:
WithRotor@PRIMARY:
Offset: -597,0,341
WithRotor@SECONDARY:
Id: rotor_2
Offset: 597,0,213
RevealsShroud:
Range: 12c0