aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/mapstich
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2018-11-03 18:23:45 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2018-11-03 18:23:45 -0400
commit28affa22541b9ef251707793f6b1c1a26d663592 (patch)
tree622754894d75c74dc5e8516ccf184ad4bf328fef /gamemode/core/mapstich
parentc639e7c7c6ab1595fdce39f56312e3d6a886bbe8 (diff)
downloadartery-28affa22541b9ef251707793f6b1c1a26d663592.tar.gz
artery-28affa22541b9ef251707793f6b1c1a26d663592.tar.bz2
artery-28affa22541b9ef251707793f6b1c1a26d663592.zip
Started on new npc system
Started work on the new npc system
Diffstat (limited to 'gamemode/core/mapstich')
-rw-r--r--gamemode/core/mapstich/cl_mapstich.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/gamemode/core/mapstich/cl_mapstich.lua b/gamemode/core/mapstich/cl_mapstich.lua
index 6f85eeb..dbd332d 100644
--- a/gamemode/core/mapstich/cl_mapstich.lua
+++ b/gamemode/core/mapstich/cl_mapstich.lua
@@ -2,6 +2,7 @@
The client constantly cheks to see if we're in a serverchnage zone
]]
if not nrequire("sh_zones.lua") then return end
+local log = nrequire("log.lua")
hook.Add("Think","artery_checklevelchange",function()
local z
pcall(function()
@@ -18,5 +19,6 @@ end)
net.Receive("art_sendtoserver",function()
local where = net.ReadString()
- LocalPlayer():ConCommand("connect " .. where)
+ log.debug("Being sent to another server:" .. where)
+ --LocalPlayer():ConCommand("connect " .. where)
end)