Fix gibs being network spawned twice (#3466)

Co-authored-by: Kicks <nolandimensions@gmail.com>
This commit is contained in:
sboxbot
2025-11-28 14:10:01 +00:00
committed by GitHub
parent 804619f777
commit f3d06f6850

View File

@@ -536,7 +536,7 @@ public class Prop : Component, Component.ExecuteInEditor, Component.IDamageable
gib.Tags.Add( "debris", "clientside" ); // no physics interactions
gib.Enabled = true;
}
else
else if ( !IsProxy )
{
// Spawn on the network
gib.NetworkSpawn( true, null );