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/database/sv_setup.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gamemode/core/database') diff --git a/gamemode/core/database/sv_setup.lua b/gamemode/core/database/sv_setup.lua index 4aba3db..a79287a 100644 --- a/gamemode/core/database/sv_setup.lua +++ b/gamemode/core/database/sv_setup.lua @@ -57,7 +57,9 @@ local function connect() end end hook.Add("DatabaseInitialized","setup_table",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 local setup_success = function(res,li) log.info("Set up playerdata table") --print("Set up connection to db") -- cgit v1.2.3-70-g09d2