No more cloning suiciders

This commit is contained in:
Crazylemon64
2017-06-22 23:06:28 -07:00
parent b071fdb914
commit 9f0cd70f68
4 changed files with 8 additions and 1 deletions
+1
View File
@@ -70,6 +70,7 @@
// the world.time since the mob has been brigged, or -1 if not at all
var/brigged_since = -1
var/suicided = FALSE
New(var/key)
src.key = key
+3
View File
@@ -221,6 +221,9 @@
if(clonemind.active) //somebody is using that mind
if(ckey(clonemind.key) != R.ckey)
return 0
if(clonemind.suicided) // and stay out!
malfunction(go_easy = 0)
return -1 // Flush the record
else
// get_ghost() will fail if they're unable to reenter their body
var/mob/dead/observer/G = clonemind.get_ghost()
+1 -1
View File
@@ -372,7 +372,7 @@
scantemp = "<span class=\"bad\">Error: No signs of intelligence detected.</span>"
nanomanager.update_uis(src)
return
if(subject.suiciding == 1 && src.scanner.scan_level < 2)
if(subject.suiciding)
scantemp = "<span class=\"bad\">Error: Subject's brain is not responding to scanning stimuli.</span>"
nanomanager.update_uis(src)
return
+3
View File
@@ -1,6 +1,9 @@
/mob/living/death(gibbed)
blinded = max(blinded, 1)
if(suiciding)
mind.suicided = TRUE
clear_fullscreens()
update_action_buttons_icon()