Jessey Widhalm 8 vuotta sitten
vanhempi
commit
9bb8c33e0b
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      src/ui/controller/AutoSaveController.java

+ 3 - 3
src/ui/controller/AutoSaveController.java

@@ -31,9 +31,9 @@ public class AutoSaveController {
 
 
 	public void decreaseAutoSaveNr() {
 	public void decreaseAutoSaveNr() {
 		currentSave = MODEL.getAutoSaveNr() - 1;
 		currentSave = MODEL.getAutoSaveNr() - 1;
-		if (currentSave < 0) {
-			currentSave = max;
-		}
+//		if (currentSave < 0) {
+//			currentSave = max;
+//		}
 		MODEL.setAutoSaveNr(currentSave);
 		MODEL.setAutoSaveNr(currentSave);
 	}
 	}