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

@@ -22,10 +22,7 @@ namespace OpenRA.Mods.RA
{
static void Explode(Actor self)
{
self.World.AddFrameEndTask(w =>
{
self.InflictDamage(self, int.MaxValue, null);
});
self.World.AddFrameEndTask(w => self.InflictDamage(self, int.MaxValue, null));
}
public IEnumerable<IOrderTargeter> Orders