mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-14 09:47:24 +07:00
Liquid turrets are used to give buff like wet but not do the damage. The ammo change is not appropriate.
This commit is contained in:
@ -60,16 +60,6 @@ public class LiquidTurret extends Turret{
|
|||||||
|
|
||||||
public class LiquidTurretBuild extends TurretBuild{
|
public class LiquidTurretBuild extends TurretBuild{
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onProximityAdded(){
|
|
||||||
super.onProximityAdded();
|
|
||||||
|
|
||||||
//add first ammo liquid to cheaty blocks so they can shoot properly
|
|
||||||
if(cheating() && ammoTypes.size > 0){
|
|
||||||
handleLiquid(this, ammoTypes.entries().next().key, 1f);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean shouldActiveSound(){
|
public boolean shouldActiveSound(){
|
||||||
return wasShooting && enabled;
|
return wasShooting && enabled;
|
||||||
|
Reference in New Issue
Block a user