diff options
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
|
