diff --git a/src/Engine/GameEngine.java b/src/Engine/GameEngine.java index e6bdb73..38b396f 100644 --- a/src/Engine/GameEngine.java +++ b/src/Engine/GameEngine.java @@ -178,7 +178,7 @@ public class GameEngine extends MouseAdapter { if(canScore && !pipes.isEmpty() && bird.getLocX() >= pipes.elementAt(0).getLocX() + pipes.elementAt(0).getSWidth()) { score++; canScore = false; - successSounds.elementAt(r.nextInt(5)).play(); + successSounds.elementAt(r.nextInt(4)).play(); } }