From 7e1ba4feb8bfbea0d04d661a77982d60a2f7840b Mon Sep 17 00:00:00 2001 From: Asriel Camora Date: Tue, 27 Feb 2024 02:27:00 -0800 Subject: [PATCH] Fix start and insta-cancel background task bug --- Craftimizer/Windows/RecipeNote.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Craftimizer/Windows/RecipeNote.cs b/Craftimizer/Windows/RecipeNote.cs index c2bf45c..8f37a13 100644 --- a/Craftimizer/Windows/RecipeNote.cs +++ b/Craftimizer/Windows/RecipeNote.cs @@ -168,7 +168,7 @@ public sealed unsafe class RecipeNote : Window, IDisposable SuggestedMacroTask?.Cancel(); CommunityMacroTask?.Cancel(); } - else if (CraftStatus == CraftableStatus.OK) + else if (CraftStatus == CraftableStatus.OK && !StatsChanged) { // If it didn't exist before or it already ran, we need to recalculate if (SavedMacroTask?.Result == null && (SavedMacroTask?.Completed ?? true))