mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] ports tgui color input from bubbers (#9919)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
615ba5fdc7
commit
fc21a0cb26
@@ -33,7 +33,7 @@
|
||||
if(picked_color)
|
||||
to_chat(src, span_notice("You have already picked a color! If you picked the wrong color, ask an admin to change your picked_color variable to 0."))
|
||||
return
|
||||
var/newcolor = input(usr, "Choose a color.", "", color) as color|null
|
||||
var/newcolor = tgui_color_picker(usr, "Choose a color.", "", color)
|
||||
if(newcolor)
|
||||
color = newcolor
|
||||
picked_color = TRUE
|
||||
|
||||
Reference in New Issue
Block a user