mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-15 09:03:53 +01:00
Fix defib timer on MMIs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user