mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
ports tgui color input from bubbers (#16934)
* ports tgui color input from monkeystation * . * push that real quick * . * . * cleanup * fix for 516 * port bubbers pre set selection * also this * allow 20 saved states * oups * regex replace * urg * use the update by type * . * . * highlight? * larger? * fix those * keep anyone below 516 on old style
This commit is contained in:
@@ -1114,7 +1114,7 @@ var/global/list/light_type_cache = list()
|
||||
brightness_power = new_power
|
||||
|
||||
if("Normal Color")
|
||||
var/new_color = input(usr, "Choose a color to set the light to!", "", brightness_color) as color|null
|
||||
var/new_color = tgui_color_picker(usr, "Choose a color to set the light to!", "", brightness_color)
|
||||
if(new_color)
|
||||
brightness_color = new_color
|
||||
|
||||
@@ -1129,7 +1129,7 @@ var/global/list/light_type_cache = list()
|
||||
nightshift_power = new_power
|
||||
|
||||
if("Nightshift Color")
|
||||
var/new_color = input(usr, "Choose a color to set the light to!", "", nightshift_color) as color|null
|
||||
var/new_color = tgui_color_picker(usr, "Choose a color to set the light to!", "", nightshift_color)
|
||||
if(new_color)
|
||||
nightshift_color = new_color
|
||||
|
||||
|
||||
Reference in New Issue
Block a user