diff --git a/OpenRA.Game/Support/PerfTimer.cs b/OpenRA.Game/Support/PerfTimer.cs index 43ed9ba8e6..8fdb4ea5a7 100755 --- a/OpenRA.Game/Support/PerfTimer.cs +++ b/OpenRA.Game/Support/PerfTimer.cs @@ -10,6 +10,7 @@ using System; using System.Linq; +using System.Threading; namespace OpenRA.Support { @@ -21,8 +22,8 @@ namespace OpenRA.Support // // Hacks to give the output a tree-like structure // - static System.Threading.ThreadLocal depth = new System.Threading.ThreadLocal(); - static System.Threading.ThreadLocal prevHeader = new System.Threading.ThreadLocal(); + static ThreadLocal depth = new ThreadLocal(); + static ThreadLocal prevHeader = new ThreadLocal(); const int MaxWidth = 60, Digits = 6; const int MaxIndentedLabel = MaxWidth - Digits; const string IndentationString = "| ";