From 0177902010a9701d4a5f7d327b7181386a5d9928 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 5 Jun 2022 10:12:52 -0400 Subject: [PATCH] Turrets should consume 1 ammo/shot by default --- core/src/mindustry/world/blocks/defense/turrets/Turret.java | 2 +- gradle.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/world/blocks/defense/turrets/Turret.java b/core/src/mindustry/world/blocks/defense/turrets/Turret.java index 2a809a5889..a720f7f1c3 100644 --- a/core/src/mindustry/world/blocks/defense/turrets/Turret.java +++ b/core/src/mindustry/world/blocks/defense/turrets/Turret.java @@ -42,7 +42,7 @@ public class Turret extends ReloadTurret{ /** Ammo units used per shot. */ public int ammoPerShot = 1; /** If true, ammo is only consumed once per shot regardless of bullet count. */ - public boolean consumeAmmoOnce = false; + public boolean consumeAmmoOnce = true; /** Minimum input heat required to fire. */ public float heatRequirement = -1f; /** Maximum efficiency possible, if this turret uses heat. */ diff --git a/gradle.properties b/gradle.properties index f43b18fad4..955af5fb41 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,4 +25,4 @@ org.gradle.caching=true #used for slow jitpack builds; TODO see if this actually works org.gradle.internal.http.socketTimeout=100000 org.gradle.internal.http.connectionTimeout=100000 -archash=b285c727bd +archash=b4b4709321