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
commit fc72d43b28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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