From 7f670e1b1e87c48e544b406d2fcd32bc30cd517d Mon Sep 17 00:00:00 2001 From: Thorinair Date: Sat, 30 Mar 2024 10:06:34 +0100 Subject: [PATCH] Fix Pay For Seeds calculation. --- changes.html | 6 +++++- help.html | 2 +- index.html | 2 +- js/main.js | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/changes.html b/changes.html index 5b0d5c2..c253f86 100644 --- a/changes.html +++ b/changes.html @@ -16,6 +16,10 @@

Change Log

+

v1.6.3
(2024-03-30)

+

v1.6.2
(2024-03-30)

diff --git a/help.html b/help.html index 181b6bc..1710ba8 100644 --- a/help.html +++ b/help.html @@ -142,7 +142,7 @@

Contact

diff --git a/index.html b/index.html index e5be8b9..1b0f9d0 100644 --- a/index.html +++ b/index.html @@ -246,7 +246,7 @@ diff --git a/js/main.js b/js/main.js index 5a13f02..a7785e2 100644 --- a/js/main.js +++ b/js/main.js @@ -413,7 +413,7 @@ function seedLoss(crop) { var loss = -minSeedCost(crop); - if (crop.growth.regrow == 0 && harvests > 0) + if (crop.growth.regrow == 0 && harvests > 0 && !options.replant) loss = loss * harvests; return loss * planted(crop);