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