diff options
| -rw-r--r-- | entities/entities/ws_npc_ambient/shared.lua | 2 | ||||
| -rw-r--r-- | to-do/website.txt | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/entities/entities/ws_npc_ambient/shared.lua b/entities/entities/ws_npc_ambient/shared.lua index c84245c..d41558d 100644 --- a/entities/entities/ws_npc_ambient/shared.lua +++ b/entities/entities/ws_npc_ambient/shared.lua @@ -53,7 +53,7 @@ function ENT:DefaultBehaviour() local closest = 5000
for k,v in pairs(player.GetAll()) do
local thisdist = self:GetPos():Distance(v:GetPos())
- if(thisdist > closest) then
+ if(thisdist < closest) then
closest = thisdist
end
end
diff --git a/to-do/website.txt b/to-do/website.txt index 611d80e..ee9f71f 100644 --- a/to-do/website.txt +++ b/to-do/website.txt @@ -1,3 +1,7 @@ There is a website that goes with the beta server currently located at cogarr.net I am using lighttpd as the webserver, with mostly default setup. I am symlinking /var/www/html with a different folder to make the site easier to work with over git. + +I am using cgi module on lighthttpd to get all the shell scripts to run, most of the scripts are pretty simple, but be sure that your web server user has access to the appropriate files. Specifically: + +/home/steam/server_1/garrysmod/data/ws_recepiedata.txt |
