remove duplicate bootstrap too

This commit is contained in:
vis2k 2021-05-16 18:52:22 +08:00
parent 0b57feaea6
commit 7be27fc1d0

View File

@ -55,7 +55,8 @@ static void Strip(Scene scene)
{
Debug.Log($"Bootstrap: stripping {scene.name}");
// remove all audio listeners in that scene
// remove critical components
RemoveAll<Bootstrap>(scene);
RemoveAll<AudioListener>(scene);
RemoveAll<Camera>(scene);
RemoveAll<Light>(scene);