diff --git a/OpenRA.Mods.Common/UpdateRules/UpdateUtils.cs b/OpenRA.Mods.Common/UpdateRules/UpdateUtils.cs index 0ebfdcd320..28f6d0cc7f 100644 --- a/OpenRA.Mods.Common/UpdateRules/UpdateUtils.cs +++ b/OpenRA.Mods.Common/UpdateRules/UpdateUtils.cs @@ -281,6 +281,9 @@ namespace OpenRA.Mods.Common.UpdateRules /// Returns true if the node is of the form or @arbitrary public static bool KeyMatches(this MiniYamlNode node, string match) { + if (node.Key == null) + return false; + if (node.Key == match) return true;