diff --git a/projects/flixel-desktop-habit-puzzle-game/Project.xml b/projects/flixel-desktop-habit-puzzle-game/Project.xml index db7e2c02..f7fcf119 100644 --- a/projects/flixel-desktop-habit-puzzle-game/Project.xml +++ b/projects/flixel-desktop-habit-puzzle-game/Project.xml @@ -41,7 +41,7 @@ - + diff --git a/projects/flixel-desktop-habit-puzzle-game/habits/default.txt b/projects/flixel-desktop-habit-puzzle-game/assets/default.txt similarity index 100% rename from projects/flixel-desktop-habit-puzzle-game/habits/default.txt rename to projects/flixel-desktop-habit-puzzle-game/assets/default.txt diff --git a/projects/flixel-desktop-habit-puzzle-game/source/Main.hx b/projects/flixel-desktop-habit-puzzle-game/source/Main.hx index 27099ff0..b8364f6d 100644 --- a/projects/flixel-desktop-habit-puzzle-game/source/Main.hx +++ b/projects/flixel-desktop-habit-puzzle-game/source/Main.hx @@ -20,7 +20,7 @@ class Main extends Sprite var habitFile = Prelude.joinPath(saveFolder, "habits.txt"); if (!(FileSystem.exists(saveFolder) && FileSystem.isDirectory(saveFolder))) { FileSystem.createDirectory(saveFolder); - File.saveContent(habitFile, File.getContent("habits/default.txt")); + File.saveContent(habitFile, File.getContent("assets/default.txt")); } var habitFile = if (Sys.args().length > 0 && Sys.args()[0].length > 0) {