aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/mapstich
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2025-12-27 17:21:49 -0600
committerAlexander M Pickering <alex@cogarr.net>2025-12-27 17:21:49 -0600
commit0c6a674999333a10317ee8a2b43f72bde03068c5 (patch)
tree71e1839fafaba516d2472d02847fe65d469a5550 /gamemode/core/mapstich
parentaacf5fbcfe1e6f2cdb0c6ab19b3e8dd87e3fd488 (diff)
downloadartery-master.tar.gz
artery-master.tar.bz2
artery-master.zip
Update for documentationHEADmaster
Diffstat (limited to 'gamemode/core/mapstich')
-rw-r--r--gamemode/core/mapstich/sv_mapstich.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/gamemode/core/mapstich/sv_mapstich.lua b/gamemode/core/mapstich/sv_mapstich.lua
index 11b4540..7e5a963 100644
--- a/gamemode/core/mapstich/sv_mapstich.lua
+++ b/gamemode/core/mapstich/sv_mapstich.lua
@@ -10,7 +10,9 @@ 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!")
+ if not MySQLite.isMySQL() then
+ log.warn("Database wasn't mysqloo, something is probably wrong!")
+ end
end)
util.AddNetworkString("art_zonechange")