Fix not being able to "Paste as New Component" on prefab instances (#3432)

Resolves Facepunch/sbox-issues#9604
This commit is contained in:
Carson Kompon
2025-11-24 08:55:28 -05:00
committed by GitHub
parent 80593bb904
commit 4c22db7c49

View File

@@ -153,8 +153,6 @@ public class GameObjectInspector : InspectorWidget
foreach ( var go in SerializedObject.Targets.OfType<GameObject>() )
{
if ( go.IsPrefabInstance ) continue;
go.PasteComponent();
}
}