BuiltAt in RulesConverter

This commit is contained in:
Bob
2010-01-12 16:58:05 +13:00
parent 3db8e4cf8f
commit 5afedbf001
4 changed files with 13 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ namespace OpenRa.Game.GameRules
{
MiniYaml inherits;
node.Nodes.TryGetValue( "Inherits", out inherits );
if( inherits.Value == null || string.IsNullOrEmpty( inherits.Value ) )
if( inherits == null || string.IsNullOrEmpty( inherits.Value ) )
return node;
MiniYaml parent;