Browse Source

Effects actually work now

tags/v0.0.1
Fen Dweller 7 years ago
parent
commit
e54b1210b3
No known key found for this signature in database GPG Key ID: E80B35A6F11C3656
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      gorge.js

+ 3
- 1
gorge.js View File

@@ -27,8 +27,10 @@ function productivityOf(type) {
if (!ownedUpgrades[key]) {
continue;
}


if (value.effect.type == "prod-2x") {
if (value.effect.target == key) {
if (value.effect.target == type) {
baseProd *= 2;
}
}


Loading…
Cancel
Save