remove cameras of movie on cleanup

This commit is contained in:
2023-09-12 12:28:53 -06:00
parent d101cf75b8
commit a3d66331f3
2 changed files with 4 additions and 2 deletions

View File

@@ -529,6 +529,8 @@
(destroyAndClear sounds)
(destroyAndClear voiceTracks)
(destroyAndClear songs)
(flixel.FlxG.cameras.remove uiCamera true)
(flixel.FlxG.cameras.remove screenCamera true)
// I hope this disposes of references to actors, props, sets, etc.:
(scenes.clear)