mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
fix regenerative stasis popping when closing the alert prompt (#30147)
This commit is contained in:
@@ -35,9 +35,9 @@
|
||||
to_chat(user, "<span class='warning'>We are already regenerating.</span>")
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user