From bdfa5835b648ab5b415f676d3756e369112018a7 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Wed, 30 Dec 2015 20:26:48 -0500 Subject: Allow players to build props ontop of other props --- gamemode/shared/player_ghost.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gamemode/shared') 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 -- cgit v1.2.3-70-g09d2