Skip to content

Commit

Permalink
Fix Large Gas Turbine not displaying Max Voltage when fully spun up (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ghzdude authored Dec 11, 2023
1 parent 055ce6a commit 11e4397
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ protected void formStructure(PatternMatchContext context) {
protected long getMaxVoltage() {
long maxProduction = recipeMapWorkable.getMaxVoltage();
long currentProduction = ((LargeTurbineWorkableHandler) recipeMapWorkable).boostProduction((int) maxProduction);
if (isActive() && currentProduction < maxProduction) {
if (isActive() && currentProduction <= maxProduction) {
return recipeMapWorkable.getMaxVoltage();
} else {
return 0L;
Expand Down

0 comments on commit 11e4397

Please sign in to comment.