This commit is contained in:
Chris Forbes
2010-03-19 20:07:58 +13:00
parent a3a62d2c14
commit 58041f1b45
3 changed files with 7 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ namespace OpenRA.GameRules
Category = categoryNode.Value;
foreach( var t in mergedNode )
if( t.Key != "Inherits" && t.Key != "Category" )
if( t.Key != "Inherits" && t.Key != "Category" && !t.Key.StartsWith("-") )
Traits.Add( LoadTraitInfo( t.Key, t.Value ) );
}