Remove redundant jumps and other style nits from the update rules

This commit is contained in:
abcdefg30
2023-02-17 21:50:25 +01:00
committed by Pavel Penev
parent 947f53a991
commit 4a554431ff
8 changed files with 2 additions and 21 deletions

View File

@@ -315,8 +315,6 @@ namespace OpenRA.Mods.Common.UpdateRules.Rules
foreach (var sequenceNode in imageNode.Value.Nodes.ToList())
if (implicitInheritedSequences.Contains(sequenceNode.Key) && !sequenceNode.Value.Nodes.Any())
imageNode.RemoveNode(sequenceNode);
yield break;
}
void ProcessNode(ModData modData, MiniYamlNode sequenceNode, MiniYamlNode resolvedSequenceNode, string imageName)