From 660a1fe147bbd1a002a9230638d41090fe6b8cb1 Mon Sep 17 00:00:00 2001 From: Joalor64 Date: Fri, 13 Dec 2024 08:38:07 -0500 Subject: [PATCH] fix --- haxelibs.json | 3 +-- source/backend/Paths.hx | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/haxelibs.json b/haxelibs.json index a479ff4..ead3ebc 100644 --- a/haxelibs.json +++ b/haxelibs.json @@ -18,8 +18,7 @@ }, { "name": "flixel-ui", - "type": "haxelib", - "version": "2.6.1" + "type": "haxelib" }, { "name": "hxcpp", diff --git a/source/backend/Paths.hx b/source/backend/Paths.hx index b455445..678f5a3 100644 --- a/source/backend/Paths.hx +++ b/source/backend/Paths.hx @@ -25,11 +25,11 @@ enum SpriteSheetType { class Paths { inline public static final DEFAULT_FOLDER:String = 'assets'; - public static final SOUND_EXT:Array = ['.ogg', '.wav']; - public static final HSCRIPT_EXT:Array = ['.hx', '.hxs', '.hxc', '.hscript']; - public static final getText:String->String = #if sys File.getContent #else Assets.getText #end; + public static var SOUND_EXT:Array = ['.ogg', '.wav']; + public static var HSCRIPT_EXT:Array = ['.hx', '.hxs', '.hxc', '.hscript']; + public static var currentTrackedAssets:Map = []; public static var currentTrackedSounds:Map = []; public static var localTrackedAssets:Array = [];