From e6e06038d5db0cad7fc601e46045c41f0b6b82e0 Mon Sep 17 00:00:00 2001 From: idk what a git repo is <138817584+what-is-a-git@users.noreply.github.com> Date: Fri, 31 May 2024 12:19:55 -0400 Subject: [PATCH] fix alphabet stuff from #284 (#288) * fix the dumb * gotta remove the import oops Fixes #284 --- source/funkin/menus/ui/Alphabet.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/funkin/menus/ui/Alphabet.hx b/source/funkin/menus/ui/Alphabet.hx index d4c3db47..48075fa7 100644 --- a/source/funkin/menus/ui/Alphabet.hx +++ b/source/funkin/menus/ui/Alphabet.hx @@ -50,7 +50,7 @@ class Alphabet extends FlxSpriteGroup // TODO: fix this shit refreshing public function refreshAlphabetXML(path:String) { - AlphaCharacter.__alphaPath = path; + AlphaCharacter.__alphaPath = Paths.getAssetsRoot() + path; try { var xml = new Access(Xml.parse(Assets.getText(path)).firstElement()); AlphaCharacter.boldAnims = []; @@ -85,7 +85,7 @@ class Alphabet extends FlxSpriteGroup isBold = bold; var alphabetPath = Paths.xml("alphabet"); - if (alphabetPath != AlphaCharacter.__alphaPath) { + if (Paths.getAssetsRoot() + alphabetPath != AlphaCharacter.__alphaPath) { refreshAlphabetXML(alphabetPath); } #if MOD_SUPPORT else {