From 84513a7ec75068f9cb222d350d438a14a5adce28 Mon Sep 17 00:00:00 2001
From: zzzmike <85382350+zzzmike@users.noreply.github.com>
Date: Sat, 20 Jul 2024 19:41:02 -0700
Subject: [PATCH] woops
---
code/modules/mob/living/carbon/human/human_attackhand.dm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/code/modules/mob/living/carbon/human/human_attackhand.dm b/code/modules/mob/living/carbon/human/human_attackhand.dm
index ffaedf7e4ca4..4d3fb1229245 100644
--- a/code/modules/mob/living/carbon/human/human_attackhand.dm
+++ b/code/modules/mob/living/carbon/human/human_attackhand.dm
@@ -61,15 +61,15 @@
attacking_mob.visible_message(SPAN_NOTICE("[attacking_mob] performs CPR on [src]."),
SPAN_HELPFUL("You perform CPR on [src]."))
balloon_alert(attacking_mob, "you perform cpr")
- else if(!check_tod())
- attacking_mob.visible_message(SPAN_NOTICE("[attacking_mob] performs CPR on [src]."),
- SPAN_HELPFUL("You perform CPR on [src]. You feel it may be a lost cause."))
- balloon_alert(attacking_mob, "you perform cpr, but feel it may be a lost cause")
else
attacking_mob.visible_message(SPAN_NOTICE("[attacking_mob] fails to perform CPR on [src]."),
SPAN_HELPFUL("You fail to perform CPR on [src]. Incorrect rhythm. Do it slower."))
balloon_alert(attacking_mob, "incorrect rhythm. do it slower")
cpr_cooldown = world.time + 7 SECONDS
+ else if(!is_revivable() || !check_tod())
+ attacking_mob.visible_message(SPAN_NOTICE("[attacking_mob] performs CPR on [src]."),
+ SPAN_HELPFUL("You perform CPR on [src]. You feel it may be a lost cause."))
+ balloon_alert(attacking_mob, "you perform cpr, but feel it may be a lost cause")
cpr_attempt_timer = 0
return 1