re-show actors in SceneFlxState when showing scene
This commit is contained in:
@@ -20,6 +20,9 @@
|
|||||||
(set currentState (cast scene SceneFlxState))
|
(set currentState (cast scene SceneFlxState))
|
||||||
(set currentState.parent FlxG.state)
|
(set currentState.parent FlxG.state)
|
||||||
(FlxG.state.openSubState currentState)
|
(FlxG.state.openSubState currentState)
|
||||||
|
// Re-show characters in case their actor sprites were moved in different scenes:
|
||||||
|
(doFor =>name character currentState.characters
|
||||||
|
(showCharacter character ReAppearance ->:Void {}))
|
||||||
(cc))
|
(cc))
|
||||||
|
|
||||||
(method :Void cleanup []
|
(method :Void cleanup []
|
||||||
|
Reference in New Issue
Block a user