Skip to content

Commit

Permalink
Fix inability to gather/trap w/ merge mistake on new code.
Browse files Browse the repository at this point in the history
  • Loading branch information
genbtc committed Nov 5, 2023
1 parent 8bd026a commit 7dc1dcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/buildings.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ function buyBuildings() {
}

//Buy Gym
if (!needGymystic && !skipGym)
if (needGymystic() && !skipGym)
safeBuyBuilding('Gym');
}
//Tributes:
Expand Down
2 changes: 1 addition & 1 deletion modules/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,6 @@ function setScienceNeeded() {
scienceNeeded += getScienceCostToUpgrade(upgrade);
}
}
if (needGymystic)
if (needGymystic())
scienceNeeded += getScienceCostToUpgrade('Gymystic');
}

0 comments on commit 7dc1dcb

Please sign in to comment.