Fixed negative GC effect breaking mod #710

This commit is contained in:
Daniël van Noord
2021-03-21 14:13:35 +01:00
parent 2438da6e38
commit 1653c18c55
4 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ export function MaxChainCookieReward(digit, maxPayout, mult) {
let nextRequired = 0;
let chain =
1 + Math.max(0, Math.ceil(Math.log(Game.cookies) / Math.LN10) - 10);
while (nextMoni < maxPayout) {
while (nextMoni < maxPayout * mult) {
moni = Math.max(
digit,
Math.min(