Merge pull request #1396 from Spel0/thorns-fix

Thorns character preloading crash fix
This commit is contained in:
Kade M
2021-07-23 22:19:35 -07:00
committed by GitHub

View File

@ -164,7 +164,7 @@ class Paths
if (isCharacter)
if (usecahce)
#if cpp
return FlxAtlasFrames.fromSpriteSheetPacker(imageCached(key), file('images/$key.txt', library));
return FlxAtlasFrames.fromSpriteSheetPacker(imageCached(key), file('images/characters/$key.txt', library));
#else
return null;
#end