Skip to content

Commit 93209b8

Browse files
authored
fix: renamed json with conflicting name
Renamed simple.json in fxgl-samples to simplesample.json to fix test Load DialogueGraph that was meant to search for another json with the same name
1 parent 31a0c21 commit 93209b8

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

fxgl-samples/src/main/java/advanced/DialogueSample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected void initInput() {
3131

3232
// we schedule this to fire in 0.5 seconds since we can't change our scene while loading in background
3333
onKeyDown(KeyCode.F, () -> {
34-
// the file simple.json is loaded from /assets/dialogues/
34+
// the file simplesample.json is loaded from /assets/dialogues/
3535
try {
3636
var url = Paths.get("function_test.json").toUri().toURL();
3737

fxgl-samples/src/main/java/sandbox/ComplexDialogueSample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected void initInput() {
3737
// simple dialogue
3838
onKeyDown(KeyCode.Q, () -> {
3939
// the json file is loaded from /assets/dialogues/
40-
var dialogueGraph = getAssetLoader().loadDialogueGraph("simple.json");
40+
var dialogueGraph = getAssetLoader().loadDialogueGraph("simplesample.json");
4141

4242
getCutsceneService().startDialogueScene(dialogueGraph);
4343
});

fxgl-samples/src/main/resources/assets/dialogues/simple.json renamed to fxgl-samples/target/classes/assets/dialogues/simplesample.json

File renamed without changes.

0 commit comments

Comments
 (0)