This commit is contained in:
Anuken
2026-02-04 13:19:17 -05:00
parent 4497e34bbb
commit 14fe0a4c85
5 changed files with 24 additions and 23 deletions

View File

@@ -658,7 +658,7 @@ public class CoreBlock extends StorageBlock{
public void playDestroySound(){
if(team.data().cores.size <= 1 && player != null && player.team() == team && state.rules.canGameOver){
//play at full volume when doing a game over
block.destroySound.play(block.destroySoundVolume, Mathf.random(block.destroyPitchMin, block.destroyPitchMax), 0f);
block.destroySound.play(block.destroySoundVolume * Core.audio.sfxVolume, Mathf.random(block.destroyPitchMin, block.destroyPitchMax), 0f);
}else{
super.playDestroySound();
}