浏览代码

autosave fix

Jessey Widhalm 8 年之前
父节点
当前提交
9bb8c33e0b
共有 1 个文件被更改,包括 3 次插入3 次删除
  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() {
 		currentSave = MODEL.getAutoSaveNr() - 1;
-		if (currentSave < 0) {
-			currentSave = max;
-		}
+//		if (currentSave < 0) {
+//			currentSave = max;
+//		}
 		MODEL.setAutoSaveNr(currentSave);
 	}