mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
remove duplicate bootstrap too
This commit is contained in:
parent
0b57feaea6
commit
7be27fc1d0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user