Refactor atom HUDs to track source of HUD gain/loss. (#32091)

* Refactor atom HUDs to track source of HUD gain/loss.

* Retain shared images from different huds on removal.

* Fix some ghost HUD toggles.

* Add HUD sources to more hud add/remove calls.

* Apply suggestions from CRUNCH review.

Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
Signed-off-by: Alan <alfalfascout@users.noreply.github.com>

* Check if a user has a hud before removing it, autodoc.

---------

Signed-off-by: Alan <alfalfascout@users.noreply.github.com>
Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
This commit is contained in:
Alan
2026-08-28 23:44:05 +00:00
committed by GitHub
co-authored by CRUNCH
parent e5e3b2c16a
commit 635e4b170e
24 changed files with 98 additions and 87 deletions
+1 -1
View File
@@ -676,7 +676,7 @@ SUBSYSTEM_DEF(ticker)
continue
for(var/m in GLOB.player_list)
var/mob/M = m
antag_hud.add_hud_to(M)
antag_hud.add_hud_to(M, "round end")
var/static/list/base_encouragement_messages = list(
"Keep on keeping on!",