From e6ee9d6ff28040ac67887c8601facd5f9c9030e7 Mon Sep 17 00:00:00 2001 From: FartMaster69420 <78667902+FartMaster69420@users.noreply.github.com> Date: Sun, 20 Mar 2022 14:56:56 -0400 Subject: [PATCH] Fixing color bug A small bug was found when solid white (FFFFFF) blobs turned into prometheans, resulting in the promethean being the incorrect color. This fixes that issue. --- .../mob/living/carbon/human/species/station/prommie_blob.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/species/station/prommie_blob.dm b/code/modules/mob/living/carbon/human/species/station/prommie_blob.dm index 64e5ddabcac..950fc03deaf 100644 --- a/code/modules/mob/living/carbon/human/species/station/prommie_blob.dm +++ b/code/modules/mob/living/carbon/human/species/station/prommie_blob.dm @@ -464,8 +464,10 @@ temporary_form = null - - shapeshifter_set_colour(blob.color) + var/blob_color = blob.color + if(!blob_color) + blob_color = rgb(255, 255, 255) + shapeshifter_set_colour(blob_color) if(blob.rad_glow > 0) radiation = CLAMP(blob.rad_glow,0,250) set_light(max(1,min(5,radiation/15)), max(1,min(10,radiation/25)), species.get_flesh_colour(src))