From f521874fb63c2f6cb3bb1b4f9687d28966162f55 Mon Sep 17 00:00:00 2001 From: Acamaeda Date: Mon, 14 Dec 2020 13:51:19 -0500 Subject: [PATCH] Fixed prestigeButtonText --- js/Demo/demoMod.js | 2 +- js/game.js | 2 +- js/utils.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/Demo/demoMod.js b/js/Demo/demoMod.js index 7133b0d..9ca5074 100644 --- a/js/Demo/demoMod.js +++ b/js/Demo/demoMod.js @@ -11,7 +11,7 @@ let modInfo = { // Set your version in num and name let VERSION = { - num: "2.3.3", + num: "2.3.3.1", name: "Cooler and Newer Edition", } diff --git a/js/game.js b/js/game.js index f1fec0f..dc80e1a 100644 --- a/js/game.js +++ b/js/game.js @@ -4,7 +4,7 @@ var gameEnded = false; // Don't change this const TMT_VERSION = { - tmtNum: "2.3.3", + tmtNum: "2.3.3.1", tmtName: "Cooler and Newer Edition" } diff --git a/js/utils.js b/js/utils.js index 91a11eb..26a55b9 100644 --- a/js/utils.js +++ b/js/utils.js @@ -788,7 +788,7 @@ function focused(x) { function prestigeButtonText(layer) { - if (layers[layer].prestigeButtonTest !== undefined) + if (layers[layer].prestigeButtonText !== undefined) return layers[layer].prestigeButtonText() else if(tmp[layer].type == "normal") return `${ player[layer].points.lt(1e3) ? (tmp[layer].resetDescription !== undefined ? tmp[layer].resetDescription : "Reset for ") : ""}+${formatWhole(tmp[layer].resetGain)} ${tmp[layer].resource} ${tmp[layer].resetGain.lt(100) && player[layer].points.lt(1e3) ? `

Next at ${ (tmp[layer].roundUpCost ? formatWhole(tmp[layer].nextAt) : format(tmp[layer].nextAt))} ${ tmp[layer].baseResource }` : ""}`