From 994d736eeb9854ddf07271be6bc037495be8885d Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Wed, 12 Apr 2023 00:33:05 +0200 Subject: [PATCH] Fix bug with FFlags being saved when cancelled --- Bloxstrap/App.xaml.cs | 1 - Bloxstrap/ViewModels/MainWindowViewModel.cs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Bloxstrap/App.xaml.cs b/Bloxstrap/App.xaml.cs index e0286b0..bc11e55 100644 --- a/Bloxstrap/App.xaml.cs +++ b/Bloxstrap/App.xaml.cs @@ -235,7 +235,6 @@ namespace Bloxstrap ShowMessageBox($"{ProjectName} is currently running, likely as a background Roblox process. Please note that not all your changes will immediately apply until you close all currently open Roblox instances.", MessageBoxImage.Information); new MainWindow().ShowDialog(); - FastFlags.Save(); } else if (LaunchArgs.Length > 0) { diff --git a/Bloxstrap/ViewModels/MainWindowViewModel.cs b/Bloxstrap/ViewModels/MainWindowViewModel.cs index 261548a..259c3f8 100644 --- a/Bloxstrap/ViewModels/MainWindowViewModel.cs +++ b/Bloxstrap/ViewModels/MainWindowViewModel.cs @@ -60,6 +60,7 @@ namespace Bloxstrap.ViewModels if (!App.IsFirstRun) { App.ShouldSaveConfigs = true; + App.FastFlags.Save(); if (App.BaseDirectory != _originalBaseDirectory) {