Skip to content

Commit

Permalink
Var fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IG2WTC committed Aug 3, 2024
1 parent d3218c3 commit d2e3a41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,10 @@ function profit(crop) {
itemsMade = Math.min(maxJarProcesses, usableCrops - total_harvest);

if (usableCrops > maxJarProcesses) {
cropsLeft += totalProduce - maxJarProcesses;
cropsLeft += total_crops - maxJarProcesses;
}
else{
cropsLeft += totalProduce - usableCrops;
cropsLeft += total_crops - usableCrops;
}
}
if (produce == 4 && !options.byHarvest) {
Expand Down

0 comments on commit d2e3a41

Please sign in to comment.