Fixes multiple issues related to suicides (#58178)

This commit is contained in:
ArcaneDefence
2021-04-06 17:40:10 -06:00
committed by GitHub
parent 755ab5b735
commit 3476d18620
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -32,6 +32,9 @@
if(!canSuicide())
return
if(confirm == "Yes")
if(suiciding)
to_chat(src, "<span class='warning'>You're already trying to commit suicide!</span>")
return
set_suicide(TRUE) //need to be called before calling suicide_act as fuck knows what suicide_act will do with your suicider
var/obj/item/held_item = get_active_held_item()
if(held_item)