Skip to content

Commit

Permalink
[MIRROR] Bitrunning glitches that don't escape their domain don't sho…
Browse files Browse the repository at this point in the history
…w up in the roundend report [MDB IGNORE] (#818)

* Bitrunning glitches that don't escape their domain don't show up in the roundend report (#79910)
---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: Y0SH1M4S73R <[email protected]>
  • Loading branch information
3 people authored Nov 25, 2023
1 parent c94961e commit 68f6c83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/bitrunning/antagonists/_parent.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
antagpanel_category = ANTAG_GROUP_GLITCH
job_rank = ROLE_GLITCH
preview_outfit = /datum/outfit/cyber_police
show_in_roundend = FALSE
show_in_antagpanel = FALSE
show_name_in_check_antagonists = TRUE
show_to_ghosts = TRUE
Expand Down
4 changes: 4 additions & 0 deletions code/modules/bitrunning/server/threats.dm
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@
else
radio.talk_into(src, "CRITICAL ALERT: Unregistered mechanical entity deployed.")

var/datum/antagonist/antag_datum = antag.mind?.has_antag_datum(/datum/antagonist/bitrunning_glitch)
if(istype(antag_datum))
antag_datum.show_in_roundend = TRUE

do_teleport(antag, get_turf(chosen_forge), forced = TRUE, asoundin = 'sound/magic/ethereal_enter.ogg', asoundout = 'sound/magic/ethereal_exit.ogg', channel = TELEPORT_CHANNEL_QUANTUM)

/// Removes any invalid candidates from the list
Expand Down

0 comments on commit 68f6c83

Please sign in to comment.