mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-23 22:48:07 -05:00
Fix not being able to "Paste as New Component" on prefab instances (#3432)
Resolves Facepunch/sbox-issues#9604
This commit is contained in:
@@ -153,8 +153,6 @@ public class GameObjectInspector : InspectorWidget
|
||||
|
||||
foreach ( var go in SerializedObject.Targets.OfType<GameObject>() )
|
||||
{
|
||||
if ( go.IsPrefabInstance ) continue;
|
||||
|
||||
go.PasteComponent();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user