mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 06:51:30 -08:00
Just because a generator doesn't have turbines doesn't mean it doesn't have liquid (#5962)
This commit is contained in:
parent
a5697a7d4b
commit
868cd4fb0b
1 changed files with 3 additions and 3 deletions
|
|
@ -40,10 +40,10 @@ public class BurnerGenerator extends ItemLiquidGenerator{
|
|||
Draw.rect(turbineRegions[1], x, y, -totalTime * turbineSpeed);
|
||||
|
||||
Draw.rect(capRegion, x, y);
|
||||
}
|
||||
|
||||
if(hasLiquids){
|
||||
Drawf.liquid(liquidRegion, x, y, liquids.total() / liquidCapacity, liquids.current().color);
|
||||
}
|
||||
if(hasLiquids && liquidRegion.found()){
|
||||
Drawf.liquid(liquidRegion, x, y, liquids.total() / liquidCapacity, liquids.current().color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue