Should be fixed

This commit is contained in:
Aidan C. Brady 2014-02-09 12:52:18 -05:00
parent 4d1b3d0721
commit 661d421ffe

View file

@ -48,7 +48,7 @@ public class PartPressurizedTube extends PartTransmitter<GasNetwork>
cacheGas = null; cacheGas = null;
} }
if(getTransmitterNetwork(false) != null) if(getTransmitterNetwork(false) != null && getTransmitterNetwork(false).getSize() > 0)
{ {
int last = lastWrite != null ? lastWrite.amount : 0; int last = lastWrite != null ? lastWrite.amount : 0;