mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 21:17:44 +01:00
[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 <crazychris32@gmail.com>
This commit is contained in:
@@ -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("<B>fATaL EERRoR</B>: 381200-*#00CODE <B>BLUE</B>\nAI INTErFERenCE DEtECted\nACTi0N DISrEGArdED"))
|
||||
return
|
||||
// SKYRAT EDIT CHANGE END
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user