made bugpait poos not collidable to players or props

main
koolaid 2023-11-22 13:21:04 -05:00
parent eae4fb4b40
commit 7da0a7f59e
1 changed files with 3 additions and 1 deletions

View File

@ -124,7 +124,9 @@ function SWEP:ThrowChair( model_file )
undo.AddEntity( ent ) undo.AddEntity( ent )
undo.SetPlayer( owner ) undo.SetPlayer( owner )
undo.Finish() undo.Finish()
--ent:SetCollisionGroup( COLLISION_GROUP_DEBRIS ) if model_file == "models/weapons/w_bugbait.mdl" then
ent:SetCollisionGroup( COLLISION_GROUP_DEBRIS )
end
ent:SetMaterial("models/props_pipes/GutterMetal01a") ent:SetMaterial("models/props_pipes/GutterMetal01a")
-- A lot of items can clutter the workspace. -- A lot of items can clutter the workspace.
-- To fix this we add a 10 second delay to remove the chair after it was spawned. -- To fix this we add a 10 second delay to remove the chair after it was spawned.