From d8dd3b6425c19ddb344802706ccb103f34155159 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 24 Nov 2021 16:17:58 +0000 Subject: [PATCH] [MIRROR] Fixes rites being able to be done by non-chaplains [MDB IGNORE] (#9676) * Fixes rites being able to be done by non-chaplains (#63002) * Fixes rites being able to be done by non-chaplains Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com> --- code/datums/components/religious_tool.dm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/datums/components/religious_tool.dm b/code/datums/components/religious_tool.dm index 94e7b9e82c0..dcf64a899e3 100644 --- a/code/datums/components/religious_tool.dm +++ b/code/datums/components/religious_tool.dm @@ -144,8 +144,11 @@ if(!ispath(text2path(path), /datum/religion_rites)) message_admins("[ADMIN_LOOKUPFLW(usr)] has tried to spawn an item when performing a rite.") return - if(user.mind.holy_role == HOLY_ROLE_DEACON) - to_chat(user, "You are merely a deacon of [GLOB.deity], and therefore cannot perform rites.") + if(user.mind.holy_role < HOLY_ROLE_PRIEST) + if(user.mind.holy_role == HOLY_ROLE_DEACON) + to_chat(user, "You are merely a deacon of [GLOB.deity], and therefore cannot perform rites.") + else + to_chat(user, "You are not holy, and therefore cannot perform rites.") return if(performing_rite) to_chat(user, "There is a rite currently being performed here already.")