Remove any previous owner on weapon spawn

► Ensure that materialized weapons have no owners since they just spawned.
This commit is contained in:
speedvoltage 2025-03-11 17:21:34 +01:00
parent 3bcc1681e3
commit e7f0d11b8b

View file

@ -195,7 +195,7 @@ void CWeaponHL2MPBase::Materialize( void )
}
SetPickupTouch();
SetOwnerEntity( NULL );
SetThink (NULL);
}