SimpleWindow don't destroy controlCamera

This commit is contained in:
2022-09-10 21:59:10 +00:00
parent 9ab8bdb96d
commit 6ee0c0fe03

View File

@@ -115,7 +115,7 @@
(method :Void hide []
(when _shown
(FlxG.cameras.remove controlCamera)
(FlxG.cameras.remove controlCamera false)
(FlxG.state.remove this)
(FlxG.state.remove controls)
(windowStack.remove this)