From 6769d3bc2e813b93428dfe8574a8b20daa90bf3a Mon Sep 17 00:00:00 2001 From: tralezab <40974010+tralezab@users.noreply.github.com> Date: Fri, 6 Jan 2023 12:18:36 -0800 Subject: [PATCH] Fixes Honorbound Sect not correctly granting the 'Declare Evil' spell (#72484) Variable was accidentally typecasted to /pointed, not /pointed/declare_evil, and thus granted the base type. --- code/modules/religion/honorbound/honorbound_trauma.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/religion/honorbound/honorbound_trauma.dm b/code/modules/religion/honorbound/honorbound_trauma.dm index 66aed0514ac..0dfeab4479d 100644 --- a/code/modules/religion/honorbound/honorbound_trauma.dm +++ b/code/modules/religion/honorbound/honorbound_trauma.dm @@ -24,8 +24,8 @@ //signal that checks for dishonorable attacks RegisterSignal(owner, COMSIG_MOB_CLICKON, PROC_REF(attack_honor)) - var/datum/action/cooldown/spell/pointed/declare_evil = new(src) - declare_evil.Grant(owner) + var/datum/action/cooldown/spell/pointed/declare_evil/declare = new(src) + declare.Grant(owner) return ..() /datum/brain_trauma/special/honorbound/on_lose(silent)