From e7d07507b3ac6c01ca7ccea84c67f90318ffe741 Mon Sep 17 00:00:00 2001 From: Casper3667 Date: Sat, 2 Oct 2021 02:24:39 +0200 Subject: [PATCH] fixes securitron crafting (#12570) --- code/modules/mob/living/bot/secbot.dm | 2 +- html/changelogs/SecuritronFix.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/SecuritronFix.yml diff --git a/code/modules/mob/living/bot/secbot.dm b/code/modules/mob/living/bot/secbot.dm index 3ad3117875c..123515a83a1 100644 --- a/code/modules/mob/living/bot/secbot.dm +++ b/code/modules/mob/living/bot/secbot.dm @@ -649,7 +649,7 @@ ..() return - if(type != /obj/item/clothing/head/helmet) //Eh, but we don't want people making secbots out of space helmets. + if(type != /obj/item/clothing/head/helmet/security) //Eh, but we don't want people making secbots out of space helmets. return if(S.secured) diff --git a/html/changelogs/SecuritronFix.yml b/html/changelogs/SecuritronFix.yml new file mode 100644 index 00000000000..23d7b3a0074 --- /dev/null +++ b/html/changelogs/SecuritronFix.yml @@ -0,0 +1,6 @@ +author: TheGreyWolf + +delete-after: True + +changes: + - bugfix: "Fixes securitron construction to take security helmets."