From b2d8c980e43f4a65904068df0e83275ce0e8b6ba Mon Sep 17 00:00:00 2001 From: timothyteakettle <59849408+timothyteakettle@users.noreply.github.com> Date: Wed, 5 May 2021 00:54:44 +0100 Subject: [PATCH] task failed sucessfully --- code/modules/client/preferences.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index 7e06868c6b..f6660fa54d 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -2448,11 +2448,11 @@ GLOBAL_LIST_EMPTY(preferences_datums) // gross copypasta here because mam markings arent a subtype of regular markings despite one containing the other ??? if(istype(S, /datum/sprite_accessory/body_markings)) var/datum/sprite_accessory/body_markings/marking = S - if(!(text2num(GLOB.bodypart_names[selected_limb]) in marking.covered_limbs)) + if(!(GLOB.bodypart_names[num2text(selected_limb)] in marking.covered_limbs)) continue if(istype(S, /datum/sprite_accessory/mam_body_markings)) var/datum/sprite_accessory/mam_body_markings/marking = S - if(!(text2num(GLOB.bodypart_names[selected_limb]) in marking.covered_limbs)) + if(!(GLOB.bodypart_names[num2text(selected_limb)] in marking.covered_limbs)) continue if((!S.ckeys_allowed) || (S.ckeys_allowed.Find(user.client.ckey)))