diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2025-12-27 17:21:49 -0600 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2025-12-27 17:21:49 -0600 |
| commit | 0c6a674999333a10317ee8a2b43f72bde03068c5 (patch) | |
| tree | 71e1839fafaba516d2472d02847fe65d469a5550 /gamemode/core/database/sv_setup.lua | |
| parent | aacf5fbcfe1e6f2cdb0c6ab19b3e8dd87e3fd488 (diff) | |
| download | artery-0c6a674999333a10317ee8a2b43f72bde03068c5.tar.gz artery-0c6a674999333a10317ee8a2b43f72bde03068c5.tar.bz2 artery-0c6a674999333a10317ee8a2b43f72bde03068c5.zip | |
Diffstat (limited to 'gamemode/core/database/sv_setup.lua')
| -rw-r--r-- | gamemode/core/database/sv_setup.lua | 4 |
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") |
