Skip to content

Commit

Permalink
[MIRROR] Fixes cyber cops being equipped with the cyber tac outfit [M…
Browse files Browse the repository at this point in the history
…DB IGNORE] (#895)

* Fixes cyber cops being equipped with the cyber tac outfit

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: Nathan Singer <[email protected]>
  • Loading branch information
3 people authored Dec 1, 2023
1 parent 092dfd6 commit e502726
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions code/modules/bitrunning/antagonists/_parent.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion code/modules/bitrunning/antagonists/cyber_police.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/bitrunning/antagonists/cyber_tac.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e502726

Please sign in to comment.