Skip to content

Commit

Permalink
Fixed a bug with updating power production resource display
Browse files Browse the repository at this point in the history
  • Loading branch information
andev0 committed Sep 10, 2024
1 parent 5e576b2 commit 2dab3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sankey/NodeResourceDisplay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export class NodeResourceDisplay

if (this._powerProductionDisplay != undefined)
{
let powerProduction = this._recipe.producedPower ?? 0
let powerProduction = (this._recipe.producedPower ?? 0)
* associatedNode.machinesAmount
* associatedNode.overclockRatio;

Expand Down

0 comments on commit 2dab3f3

Please sign in to comment.