mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Prevent Unexpected SQL Errors (#1628)
* Don't nag me, game. * Added disabled message, made config consistent * Missed adding 'else'
This commit is contained in:
@@ -21,7 +21,7 @@ var/list/gamemode_cache = list()
|
||||
var/log_pda = 0 // log pda messages
|
||||
var/log_hrefs = 0 // logs all links clicked in-game. Could be used for debugging and tracking down exploits
|
||||
var/log_runtime = 0 // logs world.log to a file
|
||||
var/sql_enabled = 1 // for sql switching
|
||||
var/sql_enabled = 0 // for sql switching
|
||||
var/allow_admin_ooccolor = 0 // Allows admins with relevant permissions to have their own ooc colour
|
||||
var/allow_vote_restart = 0 // allow votes to restart
|
||||
var/ert_admin_call_only = 0
|
||||
@@ -289,7 +289,7 @@ var/list/gamemode_cache = list()
|
||||
config.log_access = 1
|
||||
|
||||
if ("sql_enabled")
|
||||
config.sql_enabled = text2num(value)
|
||||
config.sql_enabled = 1
|
||||
|
||||
if ("log_say")
|
||||
config.log_say = 1
|
||||
|
||||
Reference in New Issue
Block a user