From af7ee9e0e69e4f8f0a09f2795f5cde14e738a8b1 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sun, 29 May 2016 20:33:29 -0400 Subject: Removed shop --- gamemode/server/world.lua | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'gamemode/server/world.lua') diff --git a/gamemode/server/world.lua b/gamemode/server/world.lua index 9d23c7b..fb8f662 100644 --- a/gamemode/server/world.lua +++ b/gamemode/server/world.lua @@ -42,19 +42,6 @@ function GM:GeneratePropRain() drop:GetPhysicsObject():Sleep() end end - - --Shop spawn - local V = Vector(random(pB.x,pA.x),random(pB.y,pA.y),random(pB.z,pA.z)) - local Tr = traceline({start=V,endpos=V-Up*40000}) - local Pos = Tr.HitPos+Up*20 - local C = contents(Pos) - - if (C != CONTENTS_WATER and C != CONTENTS_WATER+CONTENTS_TRANSLUCENT) then - local drop = ents.Create("ws_shop") - drop:SetPos(Pos) - drop:Spawn() - drop:Activate() - end end --END... Newer versions of maps should use a brush entity instead. end -- cgit v1.2.3-70-g09d2