Fixed gas/fluid transfer

This commit is contained in:
Aidan Brady 2013-12-15 00:03:45 -05:00
parent f6043b6a62
commit 945aff6986
2 changed files with 2 additions and 2 deletions

View file

@ -173,7 +173,7 @@ public class GasNetwork extends DynamicNetwork<IGasHandler, GasNetwork>
if(gasStored != null)
{
gasStored.amount -= (gasStored.amount - tickEmit(gasStored));
gasStored.amount -= tickEmit(gasStored);
if(gasStored.amount <= 0)
{

View file

@ -179,7 +179,7 @@ public class FluidNetwork extends DynamicNetwork<IFluidHandler, FluidNetwork>
if(fluidStored != null)
{
fluidStored.amount -= (fluidStored.amount - tickEmit(fluidStored, true));
fluidStored.amount -= tickEmit(fluidStored, true);
if(fluidStored.amount <= 0)
{