Skip to content

Commit 4232a0f

Browse files
Fix bug that the high scores are gone when a new level is added.
1 parent 3dcf7c7 commit 4232a0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Assets.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ static void save(int [] score) {
5353
br.close();
5454
fr.close();
5555
} catch (Exception e) {
56-
save(new int[levels.length+difficulty.length*levels.length]);
56+
e.printStackTrace();
5757
}
5858
return ret;
5959
}

0 commit comments

Comments
 (0)