diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-29 20:33:29 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-29 20:33:29 -0400 |
| commit | af7ee9e0e69e4f8f0a09f2795f5cde14e738a8b1 (patch) | |
| tree | 2da23880f562ff5682769728ff5e767e708108a3 /gamemode | |
| parent | 14514c06cf8101b949dcc37499acbb50b8aebb25 (diff) | |
| download | wintersurvival2-af7ee9e0e69e4f8f0a09f2795f5cde14e738a8b1.tar.gz wintersurvival2-af7ee9e0e69e4f8f0a09f2795f5cde14e738a8b1.tar.bz2 wintersurvival2-af7ee9e0e69e4f8f0a09f2795f5cde14e738a8b1.zip | |
Removed shop
Diffstat (limited to 'gamemode')
| -rw-r--r-- | gamemode/server/world.lua | 13 |
1 files changed, 0 insertions, 13 deletions
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
|
