aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/sowgro/npehero/editor/DiffEditor.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/sowgro/npehero/editor/DiffEditor.java')
-rwxr-xr-xsrc/main/java/net/sowgro/npehero/editor/DiffEditor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/sowgro/npehero/editor/DiffEditor.java b/src/main/java/net/sowgro/npehero/editor/DiffEditor.java
index 6485a4d..d3ecdc4 100755
--- a/src/main/java/net/sowgro/npehero/editor/DiffEditor.java
+++ b/src/main/java/net/sowgro/npehero/editor/DiffEditor.java
@@ -80,7 +80,7 @@ public class DiffEditor extends Page
playLevel.setOnAction(_ -> {
Sound.playSfx(Sound.FORWARD);
if (diff.isValid() && diff.level.isValid()) {
- Driver.setMenu(new LevelSurround(diff.level, diff, this));
+ Driver.setMenu(new LevelSurround(diff, this));
}
else {
Driver.setMenu(new ErrorDisplay("This Level is not valid!\nCheck that all required fields\nare populated.", this));