From a0cb80ea8a1eb92a5bbc2577cfa5b058e996edb9 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 25 Oct 2022 05:37:52 +0200 Subject: [PATCH] [MIRROR] Stops the AI from being gibbed when they attempt to deactivate the MODsuit on behalf of the ninja [MDB IGNORE] (#17130) * Stops the AI from being gibbed when they attempt to deactivate the MODsuit on behalf of the ninja (#70775) dont gib the AI please * Stops the AI from being gibbed when they attempt to deactivate the MODsuit on behalf of the ninja * pAI in modsuits Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Co-authored-by: tastyfish --- code/modules/mod/modules/modules_ninja.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/modules/mod/modules/modules_ninja.dm b/code/modules/mod/modules/modules_ninja.dm index 896d8cba86e..e614c063a87 100644 --- a/code/modules/mod/modules/modules_ninja.dm +++ b/code/modules/mod/modules/modules_ninja.dm @@ -257,6 +257,11 @@ . = ..() if(. != MOD_CANCEL_ACTIVATE || !isliving(user)) return + // SKYRAT EDIT CHANGE BEGIN - pAIs in MODsuits - `ai` replaced with `mod_pai` + if(mod.mod_pai == user) + to_chat(mod.mod_pai, span_danger("fATaL EERRoR: 381200-*#00CODE BLUE\nAI INTErFERenCE DEtECted\nACTi0N DISrEGArdED")) + return + // SKYRAT EDIT CHANGE END var/mob/living/living_user = user to_chat(living_user, span_danger("fATaL EERRoR: 382200-*#00CODE RED\nUNAUTHORIZED USE DETECteD\nCoMMENCING SUB-R0UTIN3 13...\nTERMInATING U-U-USER...")) living_user.gib()