summaryrefslogtreecommitdiff
path: root/entities/weapons
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-10-27 21:44:12 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-10-27 21:44:12 -0400
commit84324e0e66c8bd7046490cc53d59cfa7b964bea3 (patch)
tree1fb993471ff0d81298a0985fbb1fc153cf9d691f /entities/weapons
parent21ef4d3eec0aa873c6a72a1ac19425e24912d4c8 (diff)
downloadredead-84324e0e66c8bd7046490cc53d59cfa7b964bea3.tar.gz
redead-84324e0e66c8bd7046490cc53d59cfa7b964bea3.tar.bz2
redead-84324e0e66c8bd7046490cc53d59cfa7b964bea3.zip
When prop creator creates props, they are now frozen
Diffstat (limited to 'entities/weapons')
-rw-r--r--entities/weapons/rad_propplacer/shared.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/entities/weapons/rad_propplacer/shared.lua b/entities/weapons/rad_propplacer/shared.lua
index 77a0e96..cd52880 100644
--- a/entities/weapons/rad_propplacer/shared.lua
+++ b/entities/weapons/rad_propplacer/shared.lua
@@ -286,6 +286,7 @@ function SWEP:PlaceItem()
ent:SetModel( self.PropList[ self.Owner.PropPos ] )
ent:SetSkin( math.random( 0, 6 ) )
ent:Spawn()
+ ent:GetPhysicsObject():EnableMotion(false)
ent.AdminPlaced = true
end