Skip to content

Commit

Permalink
fix alphabet stuff from #284 (#288)
Browse files Browse the repository at this point in the history
* fix the dumb

* gotta remove the import oops

Fixes #284
  • Loading branch information
what-is-a-git authored May 31, 2024
1 parent 1ac2e7f commit e6e0603
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/funkin/menus/ui/Alphabet.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit e6e0603

Please sign in to comment.