diff options
| author | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2015-12-30 20:43:15 -0500 |
|---|---|---|
| committer | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2015-12-30 20:43:15 -0500 |
| commit | 76f2e4086134f45413bb67209ae1e842e79dca4c (patch) | |
| tree | 3528b0d82d43ee4d6b6799a746bdb5a797f6ca57 /gamemode/npcsystem/aidirector.lua | |
| parent | bdfa5835b648ab5b415f676d3756e369112018a7 (diff) | |
| download | wintersurvival2-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.lua | 1 |
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
|
