mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-23 22:48:07 -05:00
Fix gibs being network spawned twice (#3466)
Co-authored-by: Kicks <nolandimensions@gmail.com>
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user