Stops the AI from being gibbed when they attempt to deactivate the MODsuit on behalf of the ninja (#70775)

dont gib the AI please
This commit is contained in:
Zephyr
2022-10-24 18:20:16 -04:00
committed by GitHub
parent a88093e8c9
commit aa235f1a63
@@ -257,6 +257,9 @@
. = ..()
if(. != MOD_CANCEL_ACTIVATE || !isliving(user))
return
if(mod.ai == user)
to_chat(mod.ai, span_danger("<B>fATaL EERRoR</B>: 381200-*#00CODE <B>BLUE</B>\nAI INTErFERenCE DEtECted\nACTi0N DISrEGArdED"))
return
var/mob/living/living_user = user
to_chat(living_user, span_danger("<B>fATaL EERRoR</B>: 382200-*#00CODE <B>RED</B>\nUNAUTHORIZED USE DETECteD\nCoMMENCING SUB-R0UTIN3 13...\nTERMInATING U-U-USER..."))
living_user.gib()