small code optimisations as suggested

This commit is contained in:
Matthias Mailänder
2012-06-20 09:51:00 +02:00
parent 84d623397b
commit f4cb798c8b
3 changed files with 2 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ namespace OpenRA.Traits
{
public readonly string BasePalette = null;
public readonly string BaseName = "player";
public readonly int[] RemapIndex = new[] {};
public readonly int[] RemapIndex = {};
public object Create( ActorInitializer init ) { return new PlayerColorPalette( init.self.Owner, this ); }
}