mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-28 02:51:55 +00:00
Attempt to fix weird issue
This commit is contained in:
parent
0951051667
commit
a5ffc31aaf
1 changed files with 6 additions and 4 deletions
10
js/game.js
10
js/game.js
|
@ -9,6 +9,11 @@ let VERSION = {
|
||||||
name: "Tabception... ception!"
|
name: "Tabception... ception!"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Determines if it should show points/sec
|
||||||
|
function showPointGen(){
|
||||||
|
return (tmp.pointGen.neq(new Decimal(0)))
|
||||||
|
}
|
||||||
|
|
||||||
// Calculate points/sec!
|
// Calculate points/sec!
|
||||||
function getPointGen() {
|
function getPointGen() {
|
||||||
if(!hasUpg("c", 11))
|
if(!hasUpg("c", 11))
|
||||||
|
@ -19,10 +24,7 @@ function getPointGen() {
|
||||||
return gain
|
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 to determine if the player is in a challenge
|
||||||
function inChallenge(layer, id){
|
function inChallenge(layer, id){
|
||||||
|
|
Loading…
Reference in a new issue