Fix defib timer on MMIs

This commit is contained in:
Aronai Sieyes
2020-06-05 15:55:08 -04:00
parent 02a0cadbbb
commit 6fbbe840fe
+5
View File
@@ -5,6 +5,7 @@
organ_tag = O_CELL
parent_organ = BP_TORSO
vital = 1
var/defib_timer = 1 // This sits in the brain organ slot, but is not a brain.
/obj/item/organ/internal/cell/New()
robotize()
@@ -46,6 +47,10 @@
sleep(-1)
update_from_mmi()
// This sits in the brain organ slot, but is not a brain. Posibrains and dronecores aren't brains either.
/obj/item/organ/internal/mmi_holder/proc/tick_defib_timer()
return
/obj/item/organ/internal/mmi_holder/proc/update_from_mmi()
if(!stored_mmi.brainmob)