John was wrong

This commit is contained in:
Nick 2022-11-10 18:12:31 -05:00
parent 15cc907bec
commit c3f346a7fd

View File

@ -26,7 +26,7 @@ namespace NewHorizons.Builder.Props
{
foreach (var prefab in _fixedPrefabCache.Values)
{
SceneManager.MoveGameObjectToScene(prefab.prefab, scene);
GameObject.Destroy(prefab.prefab);
}
_fixedPrefabCache.Clear();
_detailInfoToCorrespondingSpawnedGameObject.Clear();