From cc3d9570c39f115d4e791ded40fac116d10ae5fe Mon Sep 17 00:00:00 2001 From: Hisakaki Date: Tue, 8 Jul 2025 21:21:14 +0100 Subject: [PATCH] Fixes MODSuits Not Allowing Certain Items Over Them Like CatEar Headphones, Flowers, And Other Stuff No Thanks To TG (#4198) ## About The Pull Request I changed it from clothing to all items you can equip, I am a bad coder thats done like 4 months of Cyber Security in uni pls be gentle this my first pr here. Tested to ensure it didn't break gear that already worked too, it didn't!! ## Why It's Good For The Game Bug fix good! ## Proof Of Testing https://i.imgur.com/eVWpVMs.png https://i.imgur.com/s1ta68L.png ## Changelog :cl: fix: MODSuits now go over all items like they should! /:cl: Closes: #3999 --------- Co-authored-by: Roxy <75404941+TealSeer@users.noreply.github.com> --- code/modules/mod/mod_activation.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/mod/mod_activation.dm b/code/modules/mod/mod_activation.dm index d229b6d38e9..30c06051a7f 100644 --- a/code/modules/mod/mod_activation.dm +++ b/code/modules/mod/mod_activation.dm @@ -85,9 +85,9 @@ playsound(src, 'sound/machines/scanner/scanbuzz.ogg', 25, TRUE, SILENCED_SOUND_EXTRARANGE) if(part_datum.can_overslot) var/obj/item/overslot = wearer.get_item_by_slot(part.slot_flags) - if(overslot && istype(overslot, /obj/item/clothing)) - // Bubber Edit Start - Don't require clothing to be flagged for overslotting - // var/obj/item/clothing/clothing = overslot + if(overslot && istype(overslot, /obj/item)) + // Bubber Edit Start - Don't require any equipment to be flagged for overslotting + // var/obj/item/ = overslot // if(clothing.clothing_flags & CLOTHING_MOD_OVERSLOTTING) part_datum.overslotting = overslot wearer.transferItemToLoc(overslot, part, force = TRUE)