strip out some duplication

This commit is contained in:
Chris Forbes
2010-03-17 23:36:36 +13:00
parent 2feec44df1
commit c17459310a
2 changed files with 5 additions and 10 deletions

View File

@@ -16,7 +16,7 @@ namespace OpenRA
foreach (var c in child.Value.Nodes)
widget.AddChild(LoadWidget(c));
else
FieldLoader.LoadField(widget, child.Key, child.Value);
FieldLoader.LoadField(widget, child.Key, child.Value.Value);
}
return widget;
}