From e5027266e5c0940ee3c2f0ed99fd5e4ae7d96778 Mon Sep 17 00:00:00 2001 From: Iajret Creature <122297233+Steals-The-PRs@users.noreply.github.com> Date: Fri, 1 Dec 2023 21:44:43 +0300 Subject: [PATCH] [MIRROR] Fixes cyber cops being equipped with the cyber tac outfit [MDB IGNORE] (#895) * Fixes cyber cops being equipped with the cyber tac outfit --------- Co-authored-by: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Co-authored-by: Nathan Singer --- code/modules/bitrunning/antagonists/_parent.dm | 4 ++-- code/modules/bitrunning/antagonists/cyber_police.dm | 2 +- code/modules/bitrunning/antagonists/cyber_tac.dm | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/modules/bitrunning/antagonists/_parent.dm b/code/modules/bitrunning/antagonists/_parent.dm index 1dcba48f2be..a6fc71b4e42 100644 --- a/code/modules/bitrunning/antagonists/_parent.dm +++ b/code/modules/bitrunning/antagonists/_parent.dm @@ -61,9 +61,9 @@ return TRUE /// Sets up the agent so that they look like cyber police && don't have an account ID -/datum/antagonist/bitrunning_glitch/proc/convert_agent(mob/living/carbon/human/player) +/datum/antagonist/bitrunning_glitch/proc/convert_agent(mob/living/carbon/human/player, datum/outfit/agent_outfit) player.set_service_style() - player.equipOutfit(/datum/outfit/cyber_police/tactical) + player.equipOutfit(agent_outfit) player.fully_replace_character_name(player.name, pick(GLOB.cyberauth_names)) var/obj/item/card/id/outfit_id = player.wear_id diff --git a/code/modules/bitrunning/antagonists/cyber_police.dm b/code/modules/bitrunning/antagonists/cyber_police.dm index b18253dd38e..a85984b42b3 100644 --- a/code/modules/bitrunning/antagonists/cyber_police.dm +++ b/code/modules/bitrunning/antagonists/cyber_police.dm @@ -10,7 +10,7 @@ return var/mob/living/player = owner.current - convert_agent(player) + convert_agent(player, /datum/outfit/cyber_police) var/datum/martial_art/the_sleeping_carp/carp = new() carp.teach(player) diff --git a/code/modules/bitrunning/antagonists/cyber_tac.dm b/code/modules/bitrunning/antagonists/cyber_tac.dm index fda45c662cf..72d231839f4 100644 --- a/code/modules/bitrunning/antagonists/cyber_tac.dm +++ b/code/modules/bitrunning/antagonists/cyber_tac.dm @@ -11,7 +11,7 @@ stack_trace("humans only for this position") return - convert_agent(owner.current) + convert_agent(owner.current, /datum/outfit/cyber_police/tactical) /datum/outfit/cyber_police/tactical name = ROLE_CYBER_TAC