Merge pull request #399 from MagmaRam/clonerfix

Fixes the bug where cloners would spawn corpses
This commit is contained in:
Neerti
2015-12-02 17:08:19 -05:00
2 changed files with 38 additions and 2 deletions
+2 -2
View File
@@ -110,7 +110,7 @@
//Get the clone body ready
H.adjustCloneLoss(150) // New damage var so you can't eject a clone early then stab them to abuse the current damage system --NeoFite
H.adjustBrainLoss(80) // Even if healed to full health, it will have some brain damage
H.adjustBrainLoss(50) // Even if healed to full health, it will have some brain damage
H.Paralyse(4)
//Here let's calculate their health so the pod doesn't immediately eject them!!!
@@ -255,7 +255,7 @@
locked = 0
go_out()
return 1
//Put messages in the connected computer's temp var for display.
/obj/machinery/clonepod/proc/connected_message(var/message)
if((isnull(connected)) || (!istype(connected, /obj/machinery/computer/cloning)))