SimpleWindow don't destroy controlCamera

This commit is contained in:
2022-09-10 21:59:10 +00:00
parent 78f2d3f4d6
commit 2eb84d0bf4

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)