From e0bc92372455913d31d2b47608b2a834a1f38720 Mon Sep 17 00:00:00 2001 From: Luc <89928798+lewcc@users.noreply.github.com> Date: Sun, 10 Sep 2023 00:30:20 -0400 Subject: [PATCH] CPR hotfix (#22319) * add missing to_chats * typo --- code/__DEFINES/dcs/signals.dm | 2 +- code/modules/mob/living/carbon/human/human_mob.dm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/__DEFINES/dcs/signals.dm b/code/__DEFINES/dcs/signals.dm index 59c83ff1397..5e761f64eef 100644 --- a/code/__DEFINES/dcs/signals.dm +++ b/code/__DEFINES/dcs/signals.dm @@ -713,7 +713,7 @@ ///From mob/living/carbon/human/do_suicide() #define COMSIG_HUMAN_SUICIDE_ACT "human_suicide_act" /// Sent from mob/living/carbon/human/do_cpr(): (mob/living/carbon/human/H, new_seconds_of_life) -#define COMSIG_HUMAN_RECEIVE_CPR "human_receieve_cpr" +#define COMSIG_HUMAN_RECEIVE_CPR "human_receive_cpr" ///From mob/living/carbon/human/attackedby(): (mob/living/carbon/human/attacker). Also found on species/disarm and species/harm #define COMSIG_HUMAN_ATTACKED "human_attacked" diff --git a/code/modules/mob/living/carbon/human/human_mob.dm b/code/modules/mob/living/carbon/human/human_mob.dm index d847b838bd4..b52bfb95734 100644 --- a/code/modules/mob/living/carbon/human/human_mob.dm +++ b/code/modules/mob/living/carbon/human/human_mob.dm @@ -1752,9 +1752,9 @@ Eyes need to have significantly high darksight to shine unless the mob has the X if(prob(5)) if(timer_restored > 4 SECONDS) - to_chat(pick(effective_cpr_messages)) + to_chat(src, pick(effective_cpr_messages)) else - to_chat(pick(ineffective_cpr_messages)) + to_chat(src, pick(ineffective_cpr_messages)) cpr_try_activate_bomb(H)