mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-13 10:20:43 -07:00
fixed ignoreLiquidFullness
This commit is contained in:
parent
cc207d3d7c
commit
b569646310
1 changed files with 4 additions and 0 deletions
|
|
@ -241,6 +241,10 @@ public class GenericCrafter extends Block{
|
|||
|
||||
@Override
|
||||
public float getProgressIncrease(float baseTime){
|
||||
if(ignoreLiquidFullness){
|
||||
return super.getProgressIncrease(baseTime);
|
||||
}
|
||||
|
||||
//limit progress increase by maximum amount of liquid it can produce
|
||||
float scaling = 1f, max = 1f;
|
||||
if(outputLiquids != null){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue