diff --git a/core/src/mindustry/world/blocks/defense/turrets/Turret.java b/core/src/mindustry/world/blocks/defense/turrets/Turret.java index 4ba5c85064..6a3ca346f8 100644 --- a/core/src/mindustry/world/blocks/defense/turrets/Turret.java +++ b/core/src/mindustry/world/blocks/defense/turrets/Turret.java @@ -477,7 +477,7 @@ public class Turret extends ReloadTurret{ //skip first entry if it has less than the required amount of ammo if(ammo.size >= 2 && ammo.peek().amount < ammoPerShot && ammo.get(ammo.size - 2).amount >= ammoPerShot){ - totalAmmo -= ammo.pop().amount; + ammo.swap(ammo.size - 1, ammo.size - 2); } return ammo.size > 0 && ammo.peek().amount >= ammoPerShot; }