diff options
Diffstat (limited to 'gamemode/core/mapstich')
| -rw-r--r-- | gamemode/core/mapstich/sv_mapstich.lua | 4 |
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") |
