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.
This commit is contained in:
tralezab
2023-01-06 14:18:36 -06:00
committed by GitHub
parent 1861746e8c
commit 6769d3bc2e
@@ -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)