mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-11-30 08:07:52 +00:00
Merge pull request #422 from FunkinCrew/bugfix/blazin-crashes
Fix crashes tied to Blazin' character animations not parsing
This commit is contained in:
commit
99ea7bbe84
2
assets
2
assets
|
|
@ -1 +1 @@
|
||||||
Subproject commit 366aab68406311782e1c1c7a5e9de0a224ccf6fd
|
Subproject commit 5f1726f1b0c11fc747b7473708cf4e5f28be05f1
|
||||||
|
|
@ -76,10 +76,17 @@ class AnimateAtlasCharacter extends BaseCharacter
|
||||||
{
|
{
|
||||||
trace('Creating Animate Atlas character: ' + this.characterId);
|
trace('Creating Animate Atlas character: ' + this.characterId);
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
var atlasSprite:FlxAtlasSprite = loadAtlasSprite();
|
var atlasSprite:FlxAtlasSprite = loadAtlasSprite();
|
||||||
setSprite(atlasSprite);
|
setSprite(atlasSprite);
|
||||||
|
|
||||||
loadAnimations();
|
loadAnimations();
|
||||||
|
}
|
||||||
|
catch (e)
|
||||||
|
{
|
||||||
|
throw "Exception thrown while building FlxAtlasSprite: " + e;
|
||||||
|
}
|
||||||
|
|
||||||
super.onCreate(event);
|
super.onCreate(event);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue