From 0b7f45fcb05814870733613dcff233451948c967 Mon Sep 17 00:00:00 2001 From: sowgro Date: Fri, 2 Jun 2023 01:31:49 -0400 Subject: start note editor, new test level --- src/main/Level.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/Level.java') diff --git a/src/main/Level.java b/src/main/Level.java index 591bd9a..cb16489 100644 --- a/src/main/Level.java +++ b/src/main/Level.java @@ -46,7 +46,7 @@ public class Level { if (cur.isDirectory()) //all subfolders within a level folder are difficulties { - Difficulty diff = new Difficulty(cur); + Difficulty diff = new Difficulty(cur,this); diff.readData(); diffList.add(diff); } @@ -151,7 +151,7 @@ public class Level } catch (IOException e) { e.printStackTrace(); } - Difficulty temp = new Difficulty(diffDir); + Difficulty temp = new Difficulty(diffDir,this); temp.title = text; temp.writeMetadata(); temp.writeLeaderboard(); -- cgit v1.2.3