public static void Load() { try { Current = filePath.ReadXml <LocalQuestsSettings>(); Current.IsLoad = true; } catch (Exception ex) { #if DEBUG Current = GetInitialSettings(); Current.IsLoad = false; System.Diagnostics.Debug.WriteLine(ex); #endif } }
public static void Load() { try { Current = filePath.ReadXml<LocalQuestsSettings>(); Current.IsLoad = true; } catch (Exception ex) { #if DEBUG Current = GetInitialSettings(); Current.IsLoad = false; System.Diagnostics.Debug.WriteLine(ex); #endif } }