fixed a bug where the SHIPDESTROYED Sound was played everytime
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user