From fb10d098bbcb3e12e551930d6340662708a100f9 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Fri, 29 Sep 2023 23:07:49 +0200 Subject: [PATCH] [MIRROR] Fixes getting dusted when you spray paint the SM [MDB IGNORE] (#24016) * Fixes getting dusted when you spray paint the SM (#78666) ## About The Pull Request Hopefully? implemented the correct fix. It _does_ work, but I don't know if its the best possible fix. Should resolve #78456 ## Why It's Good For The Game Better consistency ## Changelog :cl: fix: You can now spray paint the SM without getting dusted /:cl: * Fixes getting dusted when you spray paint the SM --------- Co-authored-by: admeeer --- code/datums/components/supermatter_crystal.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/datums/components/supermatter_crystal.dm b/code/datums/components/supermatter_crystal.dm index a9bdfc5b154..7942252576e 100644 --- a/code/datums/components/supermatter_crystal.dm +++ b/code/datums/components/supermatter_crystal.dm @@ -152,6 +152,8 @@ return if(istype(item, /obj/item/melee/roastingstick)) return FALSE + if(istype(item, /obj/item/toy/crayon/spraycan)) + return FALSE if(istype(item, /obj/item/clothing/mask/cigarette)) var/obj/item/clothing/mask/cigarette/cig = item var/clumsy = HAS_TRAIT(user, TRAIT_CLUMSY)