Fixed Stupid error

This commit is contained in:
Sagi Dayan 2016-01-23 17:31:40 +02:00
parent cdaf2c7023
commit 18e9a26ef3

View file

@ -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();
}
}