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 <foxmail@protonmail.com>
Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
nevimer
2022-03-11 19:03:51 -05:00
committed by GitHub
co-authored by Ghom nevimer
parent b1582435c3
commit a58c8b7fa4
+1 -1
View File
@@ -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))