aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/database/sv_setup.lua
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/database/sv_setup.lua
parentaacf5fbcfe1e6f2cdb0c6ab19b3e8dd87e3fd488 (diff)
downloadartery-0c6a674999333a10317ee8a2b43f72bde03068c5.tar.gz
artery-0c6a674999333a10317ee8a2b43f72bde03068c5.tar.bz2
artery-0c6a674999333a10317ee8a2b43f72bde03068c5.zip
Update for documentationHEADmaster
Diffstat (limited to 'gamemode/core/database/sv_setup.lua')
-rw-r--r--gamemode/core/database/sv_setup.lua4
1 files changed, 3 insertions, 1 deletions
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")