From 6ac964fbd0da613db563d737335c8a8a112ae768 Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Wed, 2 Jun 2021 15:28:15 -0400 Subject: [PATCH] Fixes #10542 --- .../human/species/station/protean_vr/protean_blob.dm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_blob.dm b/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_blob.dm index 6756cf7598..e2081532b2 100644 --- a/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_blob.dm +++ b/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_blob.dm @@ -403,15 +403,11 @@ var/global/list/disallowed_protean_accessories = list( root.remove_from_mob(I) /mob/living/carbon/human/proc/nano_outofblob(var/mob/living/simple_mob/protean_blob/blob, force) - if(!force && !isturf(loc)) - to_chat(src,"You can't change forms while inside something.") - return - if(!istype(blob)) return - - if(istype(blob.loc, /obj/machinery/atmospherics)) - to_chat(src, "You cannot reform in these confines!") + + if(!force && !isturf(blob.loc)) + to_chat(blob,"You can't change forms while inside something.") return var/panel_was_up = FALSE