From fb72ec7c7e080295c704b488a35452d2827bb3c7 Mon Sep 17 00:00:00 2001 From: Geeves Date: Mon, 25 Oct 2021 20:04:15 +0200 Subject: [PATCH] MMI Fix (#12679) --- code/modules/mob/living/carbon/brain/MMI.dm | 4 ++-- html/changelogs/geeves-mmi_fix.yml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 html/changelogs/geeves-mmi_fix.yml diff --git a/code/modules/mob/living/carbon/brain/MMI.dm b/code/modules/mob/living/carbon/brain/MMI.dm index df22c6ded5a..24e5f74a4db 100644 --- a/code/modules/mob/living/carbon/brain/MMI.dm +++ b/code/modules/mob/living/carbon/brain/MMI.dm @@ -81,7 +81,7 @@ if(!B.can_prepare) to_chat(user, SPAN_WARNING("\The [B] is incompatible with [src]!")) return - if(B.health <= 0) + if(B.damage >= B.max_damage) to_chat(user, SPAN_WARNING("That brain is well and truly dead.")) return else if(!B.brainmob) @@ -298,4 +298,4 @@ #undef STATE_BRAIN #undef STATE_NODIODES #undef STATE_DIODES -#undef STATE_SEALED \ No newline at end of file +#undef STATE_SEALED diff --git a/html/changelogs/geeves-mmi_fix.yml b/html/changelogs/geeves-mmi_fix.yml new file mode 100644 index 00000000000..ae4af430243 --- /dev/null +++ b/html/changelogs/geeves-mmi_fix.yml @@ -0,0 +1,6 @@ +author: Geeves + +delete-after: True + +changes: + - bugfix: "MMIs can now be made again." \ No newline at end of file