mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fixed AntagHUD not showing (#16913)
* Fixed AntagHUD not showing * And removed copypasted code
This commit is contained in:
committed by
Pieter-Jan Briers
parent
76299d45e9
commit
cfb7985e58
@@ -170,11 +170,7 @@ Works together with spawning an observer, noted above.
|
||||
if(!client)
|
||||
return 0
|
||||
|
||||
|
||||
if(client.images.len)
|
||||
for(var/image/hud in client.images)
|
||||
if(findtext(hud.icon_state, "hud", 1, 4))
|
||||
client.images.Remove(hud)
|
||||
regular_hud_updates()
|
||||
if(antagHUD)
|
||||
var/list/target_list = list()
|
||||
for(var/mob/living/target in oview(src))
|
||||
@@ -182,7 +178,6 @@ Works together with spawning an observer, noted above.
|
||||
target_list += target
|
||||
if(target_list.len)
|
||||
assess_targets(target_list, src)
|
||||
regular_hud_updates()
|
||||
if(selectedHUD == HUD_MEDICAL)
|
||||
process_medHUD(src)
|
||||
else if(selectedHUD == HUD_SECURITY)
|
||||
|
||||
Reference in New Issue
Block a user