aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/mapstich/cl_mapstich.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/core/mapstich/cl_mapstich.lua')
-rw-r--r--gamemode/core/mapstich/cl_mapstich.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/gamemode/core/mapstich/cl_mapstich.lua b/gamemode/core/mapstich/cl_mapstich.lua
new file mode 100644
index 0000000..65a5208
--- /dev/null
+++ b/gamemode/core/mapstich/cl_mapstich.lua
@@ -0,0 +1,12 @@
+--[[
+ The client constantly cheks to see if we're in a serverchnage zone
+]]
+
+hook.Add("Think","artery_checklevelchange",function()
+ local z = LocalPlayer():GetCurrentZone()
+ --print("looks like i'm in zone",z)
+ if z then
+ net.Start("art_zonechange")
+ net.SendToServer()
+ end
+end)