Clean up existing rules.
This commit is contained in:
committed by
reaperrr
parent
3bde4ebbaf
commit
9852bd08e4
@@ -63,8 +63,7 @@ namespace OpenRA.Mods.Common.UpdateRules.Rules
|
||||
if (complete || actorNode.LastChildMatching("IsometricSelectable") != null)
|
||||
yield break;
|
||||
|
||||
var height = 0;
|
||||
if (!selectionHeight.TryGetValue(actorNode.Key.ToLowerInvariant(), out height))
|
||||
if (!selectionHeight.TryGetValue(actorNode.Key.ToLowerInvariant(), out var height))
|
||||
yield break;
|
||||
|
||||
// Don't redefine the default value
|
||||
|
||||
Reference in New Issue
Block a user