aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/sowgro/npehero/editor/DiffEditor.java
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2024-08-30 12:58:33 -0400
committersowgro <tpoke.ferrari@gmail.com>2024-08-30 12:58:33 -0400
commit2dd291f259734564b8d507a10b29602ef3a4e462 (patch)
tree65b542541e1bc2a2198c86be7e09f97f335e5a2d /src/main/java/net/sowgro/npehero/editor/DiffEditor.java
parent69f69143f5604626ded3c26ee754b94eaf3c4f15 (diff)
downloadNPEhero-2dd291f259734564b8d507a10b29602ef3a4e462.tar.gz
NPEhero-2dd291f259734564b8d507a10b29602ef3a4e462.tar.bz2
NPEhero-2dd291f259734564b8d507a10b29602ef3a4e462.zip
SongPlayer rewrite pt.1
- change from variables to array of objects
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));