From a58c8b7fa45154ac4e760ae38961146001fa2e5d Mon Sep 17 00:00:00 2001 From: nevimer <77420409+nevimer@users.noreply.github.com> Date: Fri, 11 Mar 2022 19:03:51 -0500 Subject: [PATCH] Fixes succumb cancel not working. (#65379) * fixes this * Update code/_onclick/hud/alert.dm probably better Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com> Co-authored-by: nevimer Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com> --- code/_onclick/hud/alert.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/_onclick/hud/alert.dm b/code/_onclick/hud/alert.dm index bdc9ed80d1a..4e8317b2515 100644 --- a/code/_onclick/hud/alert.dm +++ b/code/_onclick/hud/alert.dm @@ -430,7 +430,7 @@ or shoot a gun to move around via Newton's 3rd Law of Motion." var/mob/living/living_owner = owner var/last_whisper = tgui_input_text(usr, "Do you have any last words?", "Final Words") - if (isnull(last_whisper) || !CAN_SUCCUMB(living_owner)) + if (!last_whisper || !CAN_SUCCUMB(living_owner)) return if (length(last_whisper))