mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-19 11:58:39 +01:00
SQL Saving - Rewrite + Implenetation (#350)
Rewrite's Mahzel's SQL character and preference saving. Introduces easy config switching between the new and old system, with no troubles at all. Also introduces better logging for DBQuery/proc/parseArguments(), should something go wrong. And classes SQL query errors as full on error snow, as opposed to debug data.
This commit is contained in:
@@ -538,7 +538,7 @@ var/list/admin_verbs_cciaa = list(
|
||||
prefs.ooccolor = input(src, "Please select your OOC colour.", "OOC colour") as color
|
||||
else if(response == "Reset to default")
|
||||
prefs.ooccolor = initial(prefs.ooccolor)
|
||||
prefs.save_preferences()
|
||||
prefs.handle_preferences_save(src)
|
||||
|
||||
feedback_add_details("admin_verb","OC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
return
|
||||
@@ -907,6 +907,7 @@ var/list/admin_verbs_cciaa = list(
|
||||
usr << "You now will get attack log messages"
|
||||
else
|
||||
usr << "You now won't get attack log messages"
|
||||
prefs.handle_preferences_save(src)
|
||||
|
||||
|
||||
/client/proc/toggleghostwriters()
|
||||
|
||||
Reference in New Issue
Block a user