From cc1cea5b9380b4e3858a66858a9346c9f3034fcd Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 24 Feb 2026 12:13:36 -0500 Subject: [PATCH] Fixed #11709 --- core/src/mindustry/entities/comp/UnitComp.java | 4 ++-- desktop/build.gradle | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/mindustry/entities/comp/UnitComp.java b/core/src/mindustry/entities/comp/UnitComp.java index 4f4063a35b..e47e538e5b 100644 --- a/core/src/mindustry/entities/comp/UnitComp.java +++ b/core/src/mindustry/entities/comp/UnitComp.java @@ -864,12 +864,12 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I float power = item().charge * Mathf.pow(stack().amount, 1.11f) * 160f; if(!spawnedByCore){ - Damage.dynamicExplosion(x, y, flammability, explosiveness, power, (bounds() + type.legLength/1.7f) / 2f, state.rules.damageExplosions && state.rules.unitCrashDamage(team) > 0, item().flammability > 1, team, type.deathExplosionEffect); + Damage.dynamicExplosion(x, y, flammability, explosiveness, power, (bounds() + type.legLength/1.7f) / 2f, state.rules.damageExplosions && state.rules.unitCrashDamage(team) > 0, item().flammability > 1, team, type.deathExplosionEffect, 0f); }else{ type.deathExplosionEffect.at(x, y, bounds() / 2f / 8f); } - float shake = type.deathShake < 0 ? hitSize / 3f : type.deathShake; + float shake = type.deathShake < 0 ? 3f + hitSize / 3f : type.deathShake; if(type.createScorch){ Effect.scorch(x, y, (int)(hitSize / 5)); diff --git a/desktop/build.gradle b/desktop/build.gradle index d30d59c78a..751a2ff8c6 100644 --- a/desktop/build.gradle +++ b/desktop/build.gradle @@ -152,7 +152,7 @@ platforms.each{ platform -> args += "XX:+UseCompactObjectHeaders" args += "enable-native-access=ALL-UNNAMED" - exec{ + project.services.get(ExecOperations).exec{ commandLine args.toList() standardOutput = System.out }