Merge pull request #161 from Crowbar764/slave-antag-patch

Slave antag patch 2
This commit is contained in:
BongaTheProto
2022-02-01 20:16:19 -05:00
committed by GitHub
12 changed files with 335 additions and 512 deletions
+1 -1
View File
@@ -1101,7 +1101,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
var/adding_hud = !has_antag_hud()
for(var/hudtype in list(DATA_HUD_SECURITY_ADVANCED, DATA_HUD_MEDICAL_ADVANCED, DATA_HUD_DIAGNOSTIC_ADVANCED)) // add data huds
for(var/hudtype in list(DATA_HUD_SECURITY_ADVANCED, DATA_HUD_MEDICAL_ADVANCED, DATA_HUD_DIAGNOSTIC_ADVANCED, DATA_HUD_ANTAGTARGET)) // add data huds
var/datum/atom_hud/H = GLOB.huds[hudtype]
(adding_hud) ? H.add_hud_to(usr) : H.remove_hud_from(usr)
for(var/datum/atom_hud/antag/H in GLOB.huds) // add antag huds