aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/mapstich/sv_mapstich.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/core/mapstich/sv_mapstich.lua')
-rw-r--r--gamemode/core/mapstich/sv_mapstich.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/gamemode/core/mapstich/sv_mapstich.lua b/gamemode/core/mapstich/sv_mapstich.lua
index 3c5da66..11b4540 100644
--- a/gamemode/core/mapstich/sv_mapstich.lua
+++ b/gamemode/core/mapstich/sv_mapstich.lua
@@ -9,6 +9,10 @@ local q = nrequire("core/database/sv_queries.lua")
local log = nrequire("log.lua")
--if not zones then error("This thing needs zones to function!") end
+hook.Add("DatabaseInitialized","initalize_mapstich",function()
+ assert(MySQLite.isMySQL(),"Database wasn't mysqloo, something is probably wrong!")
+end)
+
util.AddNetworkString("art_zonechange")
util.AddNetworkString("art_sendtoserver")