Fixed #11585
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user