Explorar el Código

little bug fix

Remco hace 10 años
padre
commit
0516027069
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      model/gameState/PlayState.java

+ 1 - 1
model/gameState/PlayState.java

@@ -158,7 +158,7 @@ public class PlayState extends GameState {
 	}
 
 	private void endGame() {
-		if(sh.getProgress()/1000 < 5000)	
+		if(sh.getProgress()/1000 > 5000)	
 		{
 			sql.addPlaydata(sh.getCurrentSong(), sh.getCurrentSongInstance(), sh.getProgress()/1000, enemies_missed, enemies_hit, buttons_pressed, joystick_moved);
 			sh.getCurrentSongInstance().played();