1
0
Fork 0
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:
Acamaeda 2020-10-04 11:28:52 -04:00
parent b43b97991e
commit 7d1cc514c2
2 changed files with 3 additions and 3 deletions

View file

@ -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
}