From e5c0f0c5e5811dcaebbe08aa83e6ec9fd73bb1a2 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Tue, 16 Aug 2022 20:29:30 +0000 Subject: [PATCH] mv habits -> assets --- projects/flixel-desktop-habit-puzzle-game/Project.xml | 2 +- .../{habits => assets}/default.txt | 0 projects/flixel-desktop-habit-puzzle-game/source/Main.hx | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename projects/flixel-desktop-habit-puzzle-game/{habits => assets}/default.txt (100%) 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) {