fix sprites not appearing

This commit is contained in:
2022-01-05 15:08:55 -07:00
parent 060b03a456
commit 1ff1404234

View File

@@ -63,11 +63,11 @@
(otherwise))
(when reAddFront
(when currentState.actorOnLeft (currentState.remove currentState.actorOnLeft))
(when currentState.actorOnRight (currentState.remove currentState.actorOnRight))
(when currentState.actorOnRight (currentState.remove currentState.actorOnRight)))
(currentState.add character.actor)
(when reAddFront
(when currentState.actorOnLeft (currentState.add currentState.actorOnLeft))
(when currentState.actorOnRight (currentState.add currentState.actorOnRight)))))
(when currentState.actorOnRight (currentState.add currentState.actorOnRight))))
(cc))
(method :Void hideCharacter [:Character<FlxStagePosition,FlxStageFacing,ActorFlxSprite> character :Continuation cc]