WHY WAS IT LIKE THIS BRUH BRUH BRUH BRU HBUH

This commit is contained in:
KadeDeveloper 2021-08-02 18:28:47 -07:00
parent 48b549e51c
commit 05817e12ea
2 changed files with 2 additions and 2 deletions

View File

@ -348,7 +348,7 @@ class Character extends FlxSprite
antialiasing = false;
case 'spirit':
frames = Paths.getPackerAtlas('spirit','shared',false);
frames = Paths.getPackerAtlas('spirit','shared');
animation.addByPrefix('idle', "idle spirit_", 24, false);
animation.addByPrefix('singUP', "up_", 24, false);
animation.addByPrefix('singRIGHT', "right_", 24, false);

View File

@ -170,6 +170,6 @@ class Paths
#end
else
return FlxAtlasFrames.fromSpriteSheetPacker(image('characters/$key'), file('images/characters/$key.txt', library));
return FlxAtlasFrames.fromSpriteSheetPacker(image(key, library), file('images/$key.txt', library));
return FlxAtlasFrames.fromSpriteSheetPacker(image(key, library), file('images/characters/$key.txt', library));
}
}