From 0c6a674999333a10317ee8a2b43f72bde03068c5 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Sat, 27 Dec 2025 17:21:49 -0600 Subject: Update for documentation --- gamemode/core/mapstich/sv_mapstich.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gamemode/core/mapstich/sv_mapstich.lua') 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") -- cgit v1.2.3-70-g09d2