diff options
| author | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2015-12-30 20:26:48 -0500 |
|---|---|---|
| committer | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2015-12-30 20:26:48 -0500 |
| commit | bdfa5835b648ab5b415f676d3756e369112018a7 (patch) | |
| tree | 98a78d736e4c98a925f3791725df87982faaa88f /gamemode/shared | |
| parent | 84279bbb034aef483276926255e88c531219aa31 (diff) | |
| download | wintersurvival2-bdfa5835b648ab5b415f676d3756e369112018a7.tar.gz wintersurvival2-bdfa5835b648ab5b415f676d3756e369112018a7.tar.bz2 wintersurvival2-bdfa5835b648ab5b415f676d3756e369112018a7.zip | |
Allow players to build props ontop of other props
Diffstat (limited to 'gamemode/shared')
| -rw-r--r-- | gamemode/shared/player_ghost.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gamemode/shared/player_ghost.lua b/gamemode/shared/player_ghost.lua index 049ede7..ef61422 100644 --- a/gamemode/shared/player_ghost.lua +++ b/gamemode/shared/player_ghost.lua @@ -88,7 +88,7 @@ function meta:CanPlaceStructure(Tr) local Ang = math.AngleNormalize(Tr.HitNormal:Angle())
if (A == CONTENTS_WATER or A == CONTENTS_WATER+CONTENTS_TRANSLUCENT ) then return false end
- if (Ang.p < -120 or Ang.p > -60) then return false end
+ if (Ang.p < -120 or Ang.p > -60 and Tr.HitWorld) then return false end
--if (!Tr.HitWorld) then return false end
end
|
