From 698bba4ca6db2c2ab8c892b9e8cccf7598159372 Mon Sep 17 00:00:00 2001 From: retlaw34 <58402542+retlaw34@users.noreply.github.com> Date: Tue, 21 Nov 2023 09:19:05 -0800 Subject: [PATCH] fucking --- .../mob/living/carbon/human/species_types/IPC.dm | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/carbon/human/species_types/IPC.dm b/code/modules/mob/living/carbon/human/species_types/IPC.dm index 2b6b795ace85..bb8068c66e94 100644 --- a/code/modules/mob/living/carbon/human/species_types/IPC.dm +++ b/code/modules/mob/living/carbon/human/species_types/IPC.dm @@ -115,6 +115,11 @@ if(!ishuman(owner)) return var/mob/living/carbon/human/H = owner + var/datum/species/ipc/species_datum = H.dna.species + if(!species_datum) + return + if(!species_datum.has_screen) + return H.dna.features["ipc_screen"] = screen_choice H.eye_color = sanitize_hexcolor(color_choice) H.update_body() @@ -220,14 +225,17 @@ /datum/species/ipc/spec_revival(mob/living/carbon/human/H) - H.dna.features["ipc_screen"] = "BSOD" - H.update_body() + if(has_screen) + H.dna.features["ipc_screen"] = "BSOD" + H.update_body() H.say("Reactivating [pick("core systems", "central subroutines", "key functions")]...") addtimer(CALLBACK(src, PROC_REF(post_revival), H), 6 SECONDS) /datum/species/ipc/proc/post_revival(mob/living/carbon/human/H) if(H.stat == DEAD) return + if(!has_screen) + return H.dna.features["ipc_screen"] = saved_screen H.update_body() @@ -238,7 +246,7 @@ if(chassis_of_choice.use_eyes) LAZYREMOVE(species_traits, NOEYESPRITES) - LAZYADD(species_traits, EYECOLOR) + LAZYADD(species_traits, NOEYESPRITES) C.update_body() if(!chassis_of_choice.has_screen)