This commit is contained in:
asiekierka 2015-01-22 23:12:00 +01:00
parent ada7c2cf32
commit d21680fc5e

View file

@ -544,6 +544,7 @@ public class PipeTransportPower extends PipeTransport {
if (externalPower[dir.ordinal()] < max) {
result = externalPower[dir.ordinal()];
externalPower[dir.ordinal()] = 0;
} else {
result = max;
externalPower[dir.ordinal()] -= max;