Fixes: Preferences now properly loads the UI style. (#15906)

* Preferences now properly saves the UI style.

* Update code/modules/client/preference/preferences_mysql.dm

Adds spaces for easier reading.

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

Co-authored-by: Iwanabeu <35479849+Kineticinferno@users.noreply.github.com>
Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
Dragonkiller93
2021-04-18 03:41:39 -07:00
committed by GitHub
parent 6842d374c8
commit 9bccec903b

View File

@@ -50,7 +50,7 @@
//Sanitize
ooccolor = sanitize_hexcolor(ooccolor, initial(ooccolor))
UI_style = sanitize_inlist(UI_style, list("White", "Midnight"), initial(UI_style))
UI_style = sanitize_inlist(UI_style, list("White", "Midnight", "Plasmafire", "Retro", "Slimecore", "Operative"), initial(UI_style))
default_slot = sanitize_integer(default_slot, 1, max_save_slots, initial(default_slot))
toggles = sanitize_integer(toggles, 0, TOGGLES_TOTAL, initial(toggles))
toggles2 = sanitize_integer(toggles2, 0, TOGGLES_2_TOTAL, initial(toggles2))