From a5ffc31aaff9fbb091c1774d4b615ab7fcd77cf4 Mon Sep 17 00:00:00 2001 From: Acamaeda Date: Wed, 7 Oct 2020 01:18:56 -0400 Subject: [PATCH] Attempt to fix weird issue --- js/game.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/js/game.js b/js/game.js index 9516550..df62477 100644 --- a/js/game.js +++ b/js/game.js @@ -9,6 +9,11 @@ let VERSION = { name: "Tabception... ception!" } +// Determines if it should show points/sec +function showPointGen(){ + return (tmp.pointGen.neq(new Decimal(0))) +} + // Calculate points/sec! function getPointGen() { if(!hasUpg("c", 11)) @@ -19,10 +24,7 @@ function getPointGen() { return gain } -// Determines if it should show points/sec -function showPointGen(){ - return (tmp.pointGen.neq(new Decimal(0))) -} + // Function to determine if the player is in a challenge function inChallenge(layer, id){