aboutsummaryrefslogtreecommitdiff
path: root/gamemode/npcsystem/aidirector.lua
diff options
context:
space:
mode:
authorAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2015-12-30 20:43:15 -0500
committerAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2015-12-30 20:43:15 -0500
commit76f2e4086134f45413bb67209ae1e842e79dca4c (patch)
tree3528b0d82d43ee4d6b6799a746bdb5a797f6ca57 /gamemode/npcsystem/aidirector.lua
parentbdfa5835b648ab5b415f676d3756e369112018a7 (diff)
downloadwintersurvival2-76f2e4086134f45413bb67209ae1e842e79dca4c.tar.gz
wintersurvival2-76f2e4086134f45413bb67209ae1e842e79dca4c.tar.bz2
wintersurvival2-76f2e4086134f45413bb67209ae1e842e79dca4c.zip
Fixed prop placement so players can build up
Diffstat (limited to 'gamemode/npcsystem/aidirector.lua')
-rw-r--r--gamemode/npcsystem/aidirector.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/gamemode/npcsystem/aidirector.lua b/gamemode/npcsystem/aidirector.lua
index b0a76a9..b9ae95e 100644
--- a/gamemode/npcsystem/aidirector.lua
+++ b/gamemode/npcsystem/aidirector.lua
@@ -74,6 +74,7 @@ hook.Add("Tick","SpawnAmbient",function()
if (C != CONTENTS_WATER and C != CONTENTS_WATER+CONTENTS_TRANSLUCENT) then
--print("Appropriate place found, spawning bird)")
+ SpawnNpcByName("Bird",v:GetPos() + (v:GetUp()*500))
break
end
end