mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] Fixes FBP not being to change eye colour (#11834)
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
be3d3cc2ee
commit
be54570b5b
@@ -40,7 +40,7 @@
|
||||
set src in usr
|
||||
|
||||
var/current_color = rgb(eye_colour[1],eye_colour[2],eye_colour[3])
|
||||
var/new_color = tgui_color_picker(src, "Pick a new color for your eyes.","Eye Color", current_color)
|
||||
var/new_color = tgui_color_picker(owner, "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