From f7f88e74fa080bc030bafd90324bc0634069fec5 Mon Sep 17 00:00:00 2001 From: CHOMPStation2StaffMirrorBot <94713762+CHOMPStation2StaffMirrorBot@users.noreply.github.com> Date: Sat, 31 May 2025 18:01:28 -0700 Subject: [PATCH] [MIRROR] Fixes invisible markings (#10979) Co-authored-by: Cameron Lennox --- code/modules/organs/organ_external.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/organs/organ_external.dm b/code/modules/organs/organ_external.dm index 71e59922e3..8cccedf6eb 100644 --- a/code/modules/organs/organ_external.dm +++ b/code/modules/organs/organ_external.dm @@ -216,6 +216,8 @@ //new function to check for markings /obj/item/organ/external/proc/is_hidden_by_markings() for(var/M in markings) + if(!markings[M]["on"]) //If the marking is off, the organ isn't hidden by it. + continue var/datum/sprite_accessory/marking/mark_style = markings[M]["datum"] if(istype(mark_style,/datum/sprite_accessory/marking) && (organ_tag in mark_style.hide_body_parts)) return 1 @@ -1483,6 +1485,8 @@ Note that amputating the affected organ does in fact remove the infection from t return 1 if(clothing_only && markings.len) for(var/M in markings) + if(!markings[M]["on"]) //If the marking is off, the organ isn't hidden by it. + continue var/datum/sprite_accessory/marking/mark = markings[M]["datum"] if(mark.hide_body_parts && (organ_tag in mark.hide_body_parts)) return 1