mirror of
https://github.com/daveth/makespherical.git
synced 2025-03-04 03:12:59 -05:00
ragdoll hotfix
This commit is contained in:
parent
8b8489589c
commit
96c8a2e360
@ -16,6 +16,7 @@ function MakeSpherical.CanTool( ent )
|
||||
if (
|
||||
not ent:IsValid()
|
||||
or string.find( ent:GetClass(), "npc_" ) or ( ent:GetClass() == "player" )
|
||||
or ( ent:GetClass() == "prop_ragdoll" )
|
||||
or ( ent:GetMoveType() ~= MOVETYPE_VPHYSICS ) )
|
||||
|
||||
then return false
|
||||
|
Loading…
Reference in New Issue
Block a user