Merge pull request #526 from Citadel-Station-13/upstream-merge-26289

[MIRROR] Changed alternate appearances to  /datum/atom_hud s
This commit is contained in:
LetterJay
2017-04-25 21:39:14 -05:00
committed by GitHub
12 changed files with 126 additions and 177 deletions
+1 -1
View File
@@ -49,7 +49,7 @@
/datum/mind/proc/leave_all_antag_huds()
for(var/datum/atom_hud/antag/hud in GLOB.huds)
if(current in hud.hudusers)
if(hud.hudusers[current])
hud.leave_hud(current)
/datum/atom_hud/antag/gang
+1 -1
View File
@@ -307,7 +307,7 @@
/obj/structure/blob/examine(mob/user)
..()
var/datum/atom_hud/hud_to_check = GLOB.huds[DATA_HUD_MEDICAL_ADVANCED]
if(user.research_scanner || (user in hud_to_check.hudusers))
if(user.research_scanner || hud_to_check.hudusers[user])
to_chat(user, "<b>Your HUD displays an extensive report...</b><br>")
chemeffectreport(user)
typereport(user)