Make addCharacter actually set the characters type

This commit is contained in:
Kade 2024-09-17 17:29:12 -07:00
parent a27c4ae24f
commit de07497ae3
No known key found for this signature in database

View file

@ -464,6 +464,9 @@ class Stage extends FlxSpriteGroup implements IPlayStateScriptedClass implements
#end
}
// Set the characters type
character.characterType = charType;
// Add the character to the scene.
this.add(character);