Add an upgrade rule.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -210,7 +210,6 @@ TRAN:
|
||||
Sequence: rotor2
|
||||
GroundSequence: slow-rotor2
|
||||
WithRotor@SECONDARY:
|
||||
Id: rotor_2
|
||||
Offset: 597,0,213
|
||||
Cargo:
|
||||
Types: Infantry
|
||||
|
||||
@@ -94,7 +94,6 @@ TRAN.Husk:
|
||||
WithRotor@PRIMARY:
|
||||
Offset: -597,0,341
|
||||
WithRotor@SECONDARY:
|
||||
Id: rotor_2
|
||||
Offset: 597,0,213
|
||||
RevealsShroud:
|
||||
Range: 12c0
|
||||
|
||||
Reference in New Issue
Block a user