diff --git a/ACViewer/View/MainMenu.xaml.cs b/ACViewer/View/MainMenu.xaml.cs index 17e2795..ea1a114 100644 --- a/ACViewer/View/MainMenu.xaml.cs +++ b/ACViewer/View/MainMenu.xaml.cs @@ -88,7 +88,8 @@ public void LoadDATs(string filename) var portalFiles = DatManager.PortalDat.AllFiles.Count; MainWindow.Status.WriteLine($"CellFiles={cellFiles}, PortalFiles={portalFiles}");*/ - MainWindow.Status.WriteLine("Done"); + MainWindow.Status.WriteLine(runWorkerCompletedEventArgs.Error?.Message ?? "Done"); + if (DatManager.CellDat == null || DatManager.PortalDat == null) return;