From 171979eadde797ecdac1aebcf5618010216f00e5 Mon Sep 17 00:00:00 2001 From: Toastical <20125180+Toastical@users.noreply.github.com> Date: Tue, 19 Aug 2025 16:25:50 +0300 Subject: [PATCH] fix regenerative stasis popping when closing the alert prompt (#30147) --- code/modules/antagonists/changeling/powers/fakedeath.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/antagonists/changeling/powers/fakedeath.dm b/code/modules/antagonists/changeling/powers/fakedeath.dm index 2ffddd180ad..49638be9435 100644 --- a/code/modules/antagonists/changeling/powers/fakedeath.dm +++ b/code/modules/antagonists/changeling/powers/fakedeath.dm @@ -35,9 +35,9 @@ to_chat(user, "We are already regenerating.") return FALSE if(!user.stat)//Confirmation for living changelings if they want to fake their death - switch(tgui_alert(user, "Are we sure we wish to fake our death?", "Fake Death", list("Yes", "No"))) - if("No") - return FALSE + var/death_confirmation = tgui_alert(user, "Are we sure we wish to fake our death?", "Fake Death", list("Yes", "No")) + if(death_confirmation != "Yes") + return FALSE // Do the checks again since we had user input if(cling.owner != user.mind) return FALSE