mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-04-21 19:31:52 -04: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 changed files with 11 additions and 4 deletions
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);
|
||||
|
||||
var atlasSprite:FlxAtlasSprite = loadAtlasSprite();
|
||||
setSprite(atlasSprite);
|
||||
try
|
||||
{
|
||||
var atlasSprite:FlxAtlasSprite = loadAtlasSprite();
|
||||
setSprite(atlasSprite);
|
||||
|
||||
loadAnimations();
|
||||
loadAnimations();
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
throw "Exception thrown while building FlxAtlasSprite: " + e;
|
||||
}
|
||||
|
||||
super.onCreate(event);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue