From c9c31345aadfd32e33a211a800b98677e3854a0c Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 9 Jul 2011 16:51:56 +1200 Subject: [PATCH] fix broken indent in WorldUtils.cs --- OpenRA.Game/WorldUtils.cs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/OpenRA.Game/WorldUtils.cs b/OpenRA.Game/WorldUtils.cs index 9f8e6b4bbe..eabc41a32e 100755 --- a/OpenRA.Game/WorldUtils.cs +++ b/OpenRA.Game/WorldUtils.cs @@ -145,18 +145,18 @@ namespace OpenRA } } - public static void DoTimed(this IEnumerable e, Action a, string text, double time) - { - var sw = new Stopwatch(); + public static void DoTimed(this IEnumerable e, Action a, string text, double time) + { + var sw = new Stopwatch(); - e.Do(x => - { - var t = sw.ElapsedTime(); - a(x); - var dt = sw.ElapsedTime() - t; - if (dt > time) - Log.Write("perf", text, x, dt * 1000, Game.LocalTick); - }); - } + e.Do(x => + { + var t = sw.ElapsedTime(); + a(x); + var dt = sw.ElapsedTime() - t; + if (dt > time) + Log.Write("perf", text, x, dt * 1000, Game.LocalTick); + }); + } } }