Skip to content

Commit 2f6b83e

Browse files
committed
Fix gibs being network spawned twice
1 parent 8b1d58d commit 2f6b83e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • engine/Sandbox.Engine/Scene/Components/Game

engine/Sandbox.Engine/Scene/Components/Game/Prop.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ public List<Gib> CreateGibs()
536536
gib.Tags.Add( "debris", "clientside" ); // no physics interactions
537537
gib.Enabled = true;
538538
}
539-
else
539+
else if ( !IsProxy )
540540
{
541541
// Spawn on the network
542542
gib.NetworkSpawn( true, null );

0 commit comments

Comments
 (0)