Fix start and insta-cancel background task bug
This commit is contained in:
@@ -168,7 +168,7 @@ public sealed unsafe class RecipeNote : Window, IDisposable
|
|||||||
SuggestedMacroTask?.Cancel();
|
SuggestedMacroTask?.Cancel();
|
||||||
CommunityMacroTask?.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 it didn't exist before or it already ran, we need to recalculate
|
||||||
if (SavedMacroTask?.Result == null && (SavedMacroTask?.Completed ?? true))
|
if (SavedMacroTask?.Result == null && (SavedMacroTask?.Completed ?? true))
|
||||||
|
|||||||
Reference in New Issue
Block a user