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 and serenibyss committed Dec 12, 2023
1 parent 471ef1f commit 195d75e
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 195d75e

Please sign in to comment.