All color inputs use current color as default choice

Went through all the color inputs and made the "default" argument the current color of what is being selected.
This commit is contained in:
ChuckTheJittai
2018-01-21 13:07:35 -05:00
parent b69b1e9a4e
commit 02033f1756
10 changed files with 19 additions and 19 deletions

View File

@@ -143,7 +143,7 @@
var/mob/user = usr
var/new_color
while(!new_color)
new_color = input(user, "Choose a new color for [src]'s flashlight.", "Light Color") as null|color
new_color = input(user, "Choose a new color for [src]'s flashlight.", "Light Color",light_color) as color|null
if(!new_color)
return
if(color_hex2num(new_color) < 200) //Colors too dark are rejected