fixed a bug where the SHIPDESTROYED Sound was played everytime

This commit is contained in:
Timo Brennförder
2024-10-14 11:12:07 +02:00
parent 8c45784246
commit a38366600c
2 changed files with 155 additions and 156 deletions

View File

@@ -109,7 +109,6 @@ private void playSound(EffectMessage msg) {
else if (msg.getDestroyedShip() == null)
logic.playSound(Sound.EXPLOSION);
else
logic.playSound(Sound.EXPLOSION);
logic.playSound(Sound.DESTROYED_SHIP);
logic.playSound(Sound.DESTROYED_SHIP);
}
}