From 60eb3afb8d007c3a0b66ac006a9a82067b78b306 Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 23 Dec 2025 21:52:50 -0500 Subject: [PATCH] Play core destroy sound even when core capture is enabled --- core/src/mindustry/world/blocks/storage/CoreBlock.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/mindustry/world/blocks/storage/CoreBlock.java b/core/src/mindustry/world/blocks/storage/CoreBlock.java index aa593ef25f..cabdbe6549 100644 --- a/core/src/mindustry/world/blocks/storage/CoreBlock.java +++ b/core/src/mindustry/world/blocks/storage/CoreBlock.java @@ -622,6 +622,11 @@ public class CoreBlock extends StorageBlock{ //just create an explosion, no fire. this prevents immediate recapture Damage.dynamicExplosion(x, y, 0, 0, 0, tilesize * block.size / 2f, state.rules.damageExplosions); Fx.commandSend.at(x, y, 140f); + + //make sure the sound still plays + if(!headless){ + playDestroySound(); + } }else{ super.onDestroyed(); }