mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] remove old inputs (#10038)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f3ebea3af1
commit
965f8f4a61
@@ -40,7 +40,7 @@
|
||||
set src in usr
|
||||
|
||||
var/current_color = rgb(eye_colour[1],eye_colour[2],eye_colour[3])
|
||||
var/new_color = input(src, "Pick a new color for your eyes.","Eye Color", current_color) as null|color
|
||||
var/new_color = tgui_color_picker(src, "Pick a new color for your eyes.","Eye Color", current_color)
|
||||
if(new_color && owner)
|
||||
// input() supplies us with a hex color, which we can't use, so we convert it to rbg values.
|
||||
var/list/new_color_rgb_list = hex2rgb(new_color)
|
||||
|
||||
Reference in New Issue
Block a user