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); UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
} }
} }

View File

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

View File

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

View File

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