Merge pull request #7996 from VOREStation/Arokha/issue7930

Alleviate shapeshifter color issues
This commit is contained in:
Aronai Sieyes
2020-05-21 15:39:00 -04:00
committed by GitHub
3 changed files with 10 additions and 1 deletions
@@ -173,7 +173,8 @@ var/list/wrapped_species_by_ref = list()
last_special = world.time + 50
var/new_skin = input("Please select a new body color.", "Shapeshifter Colour") as color
var/current = RGBdec2hex(list(r_skin, g_skin, b_skin))
var/new_skin = input("Please select a new body color.", "Shapeshifter Colour", current) as null|color
if(!new_skin)
return
shapeshifter_set_colour(new_skin)
@@ -46,6 +46,7 @@
var/obj/item/organ/external/new_eo = new limbpath(src)
organs_by_name[choice] = new_eo
new_eo.robotize(synthetic ? synthetic.company : null) //Use the base we started with
new_eo.sync_colour_to_human(src)
regenerate_icons()
active_regen = FALSE
nano_outofblob(blob)