mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-01 20:04:02 +07:00
bug squish
This commit is contained in:
parent
3dae157a5e
commit
f2b5553f54
@ -144,7 +144,7 @@ public class LiquidTurret extends Turret{
|
||||
@Override
|
||||
public boolean acceptLiquid(Building source, Liquid liquid){
|
||||
return ammoTypes.get(liquid) != null
|
||||
&& (liquids.current() == liquid || (ammoTypes.containsKey(liquids.current())
|
||||
&& (liquids.current() == liquid || (ammoTypes.containsKey(liquid)
|
||||
&& liquids.get(liquids.current()) <= 1f / ammoTypes.get(liquids.current()).ammoMultiplier + 0.001f));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user