mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
OOC Color Default In Input
Added the "default" field in the input when selecting an OOC color so that it starts on the current color instead of black.
This commit is contained in:
@@ -71,7 +71,7 @@ var/global/normal_ooc_colour = "#002eb8"
|
||||
if(!holder || check_rights_for(src, R_ADMIN))
|
||||
if(!is_content_unlocked()) return
|
||||
|
||||
var/new_ooccolor = input(src, "Please select your OOC colour.", "OOC colour") as color|null
|
||||
var/new_ooccolor = input(src, "Please select your OOC colour.", "OOC colour", prefs.ooccolor) as color|null
|
||||
if(new_ooccolor)
|
||||
prefs.ooccolor = sanitize_ooccolor(new_ooccolor)
|
||||
prefs.save_preferences()
|
||||
|
||||
Reference in New Issue
Block a user