Fix start and insta-cancel background task bug

This commit is contained in:
Asriel Camora
2024-02-27 02:27:00 -08:00
parent 409d2e440b
commit 7e1ba4feb8
+1 -1
View File
@@ -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))