From a5f5b3d47e7cee55e4a29d57ae9f2d8630f6be5b Mon Sep 17 00:00:00 2001 From: Tayyyyyyy Date: Sun, 31 Dec 2017 13:36:56 -0700 Subject: [PATCH] Antag ban only antag banned players from drones --- code/modules/mob/living/silicon/robot/drone/drone.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/mob/living/silicon/robot/drone/drone.dm b/code/modules/mob/living/silicon/robot/drone/drone.dm index 7951554dc05..81a1958d22c 100644 --- a/code/modules/mob/living/silicon/robot/drone/drone.dm +++ b/code/modules/mob/living/silicon/robot/drone/drone.dm @@ -182,6 +182,10 @@ return to_chat(user, "You swipe the sequencer across [src]'s interface and watch its eyes flicker.") + + if(jobban_isbanned(src, ROLE_SYNDICATE)) + ticker.mode.replace_jobbanned_player(src, ROLE_SYNDICATE) + to_chat(src, "You feel a sudden burst of malware loaded into your execute-as-root buffer. Your tiny brain methodically parses, loads and executes the script. You sense you have five minutes before the drone server detects this and automatically shuts you down.") message_admins("[key_name_admin(user)] emagged drone [key_name_admin(src)]. Laws overridden.")