Skip to content

Commit

Permalink
Make the light emitted by tanks proportional to how full they are
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Aug 21, 2014
1 parent 211cb9b commit 762f74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/smeltery/logic/LavaTankLogic.java
Expand Up @@ -101,7 +101,7 @@ public int getBrightness ()
{
if (containsFluid())
{
return tank.getFluid().getFluid().getLuminosity();
return (tank.getFluid().getFluid().getLuminosity() * tank.getFluidAmount()) / tank.getCapacity();
}
return 0;
}
Expand Down

0 comments on commit 762f74b

Please sign in to comment.