diff --git a/CompilePalX/Compiling/CompilingManager.cs b/CompilePalX/Compiling/CompilingManager.cs index e70a0286..c142c401 100644 --- a/CompilePalX/Compiling/CompilingManager.cs +++ b/CompilePalX/Compiling/CompilingManager.cs @@ -5,6 +5,7 @@ using System.Diagnostics; using System.IO; using System.Linq; +using System.Runtime.CompilerServices; using System.Text; using System.Threading; using System.Threading.Tasks; @@ -219,6 +220,11 @@ public static void CancelCompile() postCompile(null); } + public static Stopwatch GetTime() + { + return compileTimeStopwatch; + } + class MapErrors { public string MapName { get; set; } diff --git a/CompilePalX/MainWindow.xaml b/CompilePalX/MainWindow.xaml index ba97447b..4aed774b 100644 --- a/CompilePalX/MainWindow.xaml +++ b/CompilePalX/MainWindow.xaml @@ -220,6 +220,7 @@ +