mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-05-11 20:41:10 +00:00
Changed another thing to use the repaired functions
This commit is contained in:
parent
b43b97991e
commit
7d1cc514c2
2 changed files with 3 additions and 3 deletions
js
|
@ -42,7 +42,7 @@ function getStartPlayer() {
|
|||
|
||||
function getPointGen() {
|
||||
let gain = new Decimal(1)
|
||||
if (player.c.upgrades.includes(12)) gain = gain.times(layers.c.upgrades["12"].effect())
|
||||
if (hasUpg("c", 12)) gain = gain.times(layers.c.upgrades[12].effect())
|
||||
return gain
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue