made bugpait poos not collidable to players or props
parent
eae4fb4b40
commit
7da0a7f59e
|
|
@ -124,7 +124,9 @@ function SWEP:ThrowChair( model_file )
|
|||
undo.AddEntity( ent )
|
||||
undo.SetPlayer( owner )
|
||||
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")
|
||||
-- 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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue