fix sprites not appearing
This commit is contained in:
@@ -63,11 +63,11 @@
|
|||||||
(otherwise))
|
(otherwise))
|
||||||
(when reAddFront
|
(when reAddFront
|
||||||
(when currentState.actorOnLeft (currentState.remove currentState.actorOnLeft))
|
(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)
|
(currentState.add character.actor)
|
||||||
(when reAddFront
|
(when reAddFront
|
||||||
(when currentState.actorOnLeft (currentState.add currentState.actorOnLeft))
|
(when currentState.actorOnLeft (currentState.add currentState.actorOnLeft))
|
||||||
(when currentState.actorOnRight (currentState.add currentState.actorOnRight)))))
|
(when currentState.actorOnRight (currentState.add currentState.actorOnRight))))
|
||||||
(cc))
|
(cc))
|
||||||
|
|
||||||
(method :Void hideCharacter [:Character<FlxStagePosition,FlxStageFacing,ActorFlxSprite> character :Continuation cc]
|
(method :Void hideCharacter [:Character<FlxStagePosition,FlxStageFacing,ActorFlxSprite> character :Continuation cc]
|
||||||
|
Reference in New Issue
Block a user