Make pAIs show correctly in diagnostic HUDs (#24666)

This commit is contained in:
Charlie Nolan
2024-03-18 18:25:12 +00:00
committed by GitHub
parent 153284efae
commit 13f0d607d6
2 changed files with 4 additions and 0 deletions
@@ -13,5 +13,8 @@
if(!.)
return FALSE
diag_hud_set_status()
diag_hud_set_health()
if(icon_state != "[chassis]_dead" || cleanWipe)
qdel(src)
@@ -21,3 +21,4 @@
else
health = 100 - getBruteLoss() - getFireLoss()
update_stat("updatehealth([reason])")
diag_hud_set_health()