Compact lambda expressions in some (not all) places

This commit is contained in:
ScottNZ
2014-06-14 01:57:46 +12:00
parent 375fc1c5f1
commit 6b85660d7d
8 changed files with 16 additions and 34 deletions

View File

@@ -24,7 +24,7 @@ namespace OpenRA.Widgets
[ObjectCreator.UseCtor]
public SpriteWidget(WorldRenderer worldRenderer)
{
GetPalette = () => { return Palette; };
GetPalette = () => Palette;
this.worldRenderer = worldRenderer;
}