Changelog improvements (#18498)

* Changelog improvements

* Farie tweaks

* Fix

* Improvements
This commit is contained in:
AffectedArc07
2022-07-30 16:15:05 +01:00
committed by GitHub
parent 38825f5c13
commit f0b36ddc59
6 changed files with 141 additions and 110 deletions
@@ -61,6 +61,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
//game-preferences
var/lastchangelog = "1" //Saved changlog timestamp (unix epoch) to detect if there was a change. Dont set this to 0 unless you want the last changelog date to be 4x longer than the expected lifespan of the universe.
var/lastchangelog_2 = "1" // Clone of the above var for viewing changes since last connection. This is never overriden. Yes it needs to exist.
var/exp
var/ooccolor = "#b82e00"
var/list/be_special = list() //Special role selection
@@ -27,6 +27,8 @@
colourblind_mode = query.item[21]
keybindings = init_keybindings(raw = query.item[22])
lastchangelog_2 = lastchangelog // Clone please
//Sanitize
ooccolor = sanitize_hexcolor(ooccolor, initial(ooccolor))
UI_style = sanitize_inlist(UI_style, list("White", "Midnight", "Plasmafire", "Retro", "Slimecore", "Operative"), initial(UI_style))