mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-06 17:08:56 +07:00
fixed ignoreLiquidFullness
This commit is contained in:
parent
cc207d3d7c
commit
b569646310
@ -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…
Reference in New Issue
Block a user