Skip to content

Commit

Permalink
Remove System.out.print of owned in calculateCosts method
Browse files Browse the repository at this point in the history
  • Loading branch information
Fireball19 committed Sep 8, 2023
1 parent acb9ad2 commit 9e7c266
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ public void updateNextBuildingCost() {
public void calculateCosts() {
updateNextBuildingCost();
owned++;

// print if production per second is less than the next cost
if (productionPerSecond() < nextCost) {
System.out.print(owned + " ");
}
}

public double productionPerSecond() {
Expand Down

0 comments on commit 9e7c266

Please sign in to comment.