From b5ba90cc6f8981f59906cc3cdfe88fc3f600bb69 Mon Sep 17 00:00:00 2001 From: ChuckTheSheep Date: Tue, 7 Jan 2014 01:04:45 -0500 Subject: [PATCH] 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. --- code/game/verbs/ooc.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/verbs/ooc.dm b/code/game/verbs/ooc.dm index 87289267d97..dd9c5afb168 100644 --- a/code/game/verbs/ooc.dm +++ b/code/game/verbs/ooc.dm @@ -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()