diff --git a/src/Craft.ts b/src/Craft.ts index 60b54bc0..1638bc6e 100644 --- a/src/Craft.ts +++ b/src/Craft.ts @@ -54,8 +54,8 @@ export interface Status { } export const compareStatus = (s1: Status, s2: Status): number => { - if (s1.progress != s1.recipe.difficulty) - return s1.progress - s1.recipe.difficulty; + if (s1.progress != s2.progress) + return s1.progress - s2.progress; if (s1.quality != s2.quality) return s1.quality - s2.quality; if (s1.step != s2.step)