Skip to content

Commit

Permalink
Merge pull request #257 from ORNL-AMO/issue-255
Browse files Browse the repository at this point in the history
Issue 255: Make game harder - only 1/2 energy savings
  • Loading branch information
rhernandez-intertech authored Mar 12, 2024
2 parents 8a2ad2f + ecf0f01 commit 7e33d33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,8 @@ export class App extends React.PureComponent<unknown, AppState> {
});

} else if (this.state.gameSettings.costSavingsCarryoverYears == 'oneYear') {
newBudget += yearCostSavings.electricity + yearCostSavings.naturalGas;
let energyCostSavings: number = (yearCostSavings.electricity + yearCostSavings.naturalGas) * 0.5;
newBudget += energyCostSavings;

}

Expand Down

0 comments on commit 7e33d33

Please sign in to comment.