Beispiel #1
0
 private void CloseWindow()
 {
     if (int.TryParse(this.level, out int i))
     {
         RealChuteSettings.Instance.EngineerLevel = i;
     }
     if (!this.destroying)
     {
         RCToolbarManager.SetApplauncherButtonFalse();
     }
 }
Beispiel #2
0
        private void CloseWindow()
        {
            int i = 1;

            if (int.TryParse(level, out i))
            {
                this.settings.engineerLevel = i;
            }
            if (!this.destroying)
            {
                RCToolbarManager.SetApplauncherButtonFalse();
            }
        }