diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-10-27 21:44:12 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-10-27 21:44:12 -0400 |
| commit | 84324e0e66c8bd7046490cc53d59cfa7b964bea3 (patch) | |
| tree | 1fb993471ff0d81298a0985fbb1fc153cf9d691f | |
| parent | 21ef4d3eec0aa873c6a72a1ac19425e24912d4c8 (diff) | |
| download | redead-84324e0e66c8bd7046490cc53d59cfa7b964bea3.tar.gz redead-84324e0e66c8bd7046490cc53d59cfa7b964bea3.tar.bz2 redead-84324e0e66c8bd7046490cc53d59cfa7b964bea3.zip | |
When prop creator creates props, they are now frozen
| -rw-r--r-- | entities/weapons/rad_propplacer/shared.lua | 1 |
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 |
