mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
[MIRROR] Fixes multiple issues related to suicides (#4710)
* Fixes multiple issues related to suicides (#58178) * Fixes multiple issues related to suicides Co-authored-by: ArcaneDefence <51932756+ArcaneDefence@users.noreply.github.com>
This commit is contained in:
co-authored by
ArcaneDefence
parent
b2a44cd220
commit
c6e2a4bf26
@@ -34,6 +34,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)
|
||||
|
||||
Reference in New Issue
Block a user