Fixed wizards with mindswap being able to make people suicide

This commit is contained in:
unknown
2017-02-03 12:48:09 -06:00
parent 5a8fed3e12
commit f74828ba6b
+3
View File
@@ -4,7 +4,10 @@
set hidden = 1
if(!canSuicide())
return
var/oldkey = ckey
var/confirm = alert("Are you sure you want to commit suicide?", "Confirm Suicide", "Yes", "No")
if(ckey != oldkey)
return
if(!canSuicide())
return
if(confirm == "Yes")