From 8bf1fbb41f69930f2067659e1256ecf7d00ff2f5 Mon Sep 17 00:00:00 2001 From: FalloutFalcon Date: Mon, 18 Dec 2023 15:12:48 -0600 Subject: [PATCH] revert --- code/modules/unit_tests/outfit_sanity.dm | 8 -------- 1 file changed, 8 deletions(-) diff --git a/code/modules/unit_tests/outfit_sanity.dm b/code/modules/unit_tests/outfit_sanity.dm index f0258bed54dd..fee653cd626f 100644 --- a/code/modules/unit_tests/outfit_sanity.dm +++ b/code/modules/unit_tests/outfit_sanity.dm @@ -20,7 +20,6 @@ /datum/unit_test/outfit_sanity/Run() var/mob/living/carbon/human/H = allocate(/mob/living/carbon/human) - var/list created_items = list() for (var/outfit_type in subtypesof(/datum/outfit)) // Only make one human and keep undressing it because it's much faster @@ -59,12 +58,5 @@ for (var/_ in 1 to number) if (!H.equip_to_slot_or_del(new path(H), ITEM_SLOT_BACKPACK, TRUE)) TEST_FAIL("[outfit.name]'s backpack_contents are invalid! Couldn't add [path] to backpack.") - // Check if the created outfit is of subtype /datum/outfit/generic - if (isoutfit(outfit, /datum/outfit/generic)) - for (var/obj/item/I in H.get_equipped_items(include_pockets = TRUE)) - list/append(created_items, I.path) - for (var/item in created_items) - world.log << "Created Item: [item.name] ([item.path])" - #undef CHECK_OUTFIT_SLOT