aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/mapstich
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-11-04 17:53:11 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2017-11-04 17:53:11 -0400
commit40080dcfde028c64c4f6f51792b928ee91677bc6 (patch)
tree000e1144ee6e58f5574489fbc2793d43e8d68a4a /gamemode/core/mapstich
parent84a72c78cd157b2649c03f8f503310883241dcdb (diff)
downloadartery-40080dcfde028c64c4f6f51792b928ee91677bc6.tar.gz
artery-40080dcfde028c64c4f6f51792b928ee91677bc6.tar.bz2
artery-40080dcfde028c64c4f6f51792b928ee91677bc6.zip
Added bobleheadbob's zones
Added zones api and required it from maptich
Diffstat (limited to 'gamemode/core/mapstich')
-rw-r--r--gamemode/core/mapstich/cl_mapstich.lua2
-rw-r--r--gamemode/core/mapstich/sv_mapstich.lua1
2 files changed, 2 insertions, 1 deletions
diff --git a/gamemode/core/mapstich/cl_mapstich.lua b/gamemode/core/mapstich/cl_mapstich.lua
index e1e5fcc..62cad3f 100644
--- a/gamemode/core/mapstich/cl_mapstich.lua
+++ b/gamemode/core/mapstich/cl_mapstich.lua
@@ -1,7 +1,7 @@
--[[
The client constantly cheks to see if we're in a serverchnage zone
]]
-
+nrequire("sh_zones.lua")
hook.Add("Think","artery_checklevelchange",function()
local z = LocalPlayer():GetCurrentZone()
--print("looks like i'm in zone",z)
diff --git a/gamemode/core/mapstich/sv_mapstich.lua b/gamemode/core/mapstich/sv_mapstich.lua
index ff84fca..0a20828 100644
--- a/gamemode/core/mapstich/sv_mapstich.lua
+++ b/gamemode/core/mapstich/sv_mapstich.lua
@@ -1,5 +1,6 @@
--Make sure zones are loaded already
nrequire("sv_mysqlite.lua")
+nrequire("sh_zones.lua")
local q = nrequire("core/database/sv_queries.lua")
--if not zones then error("This thing needs zones to function!") end