HUD is now updated properly when mob goes invisible. (#24332)

Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
This commit is contained in:
Adrer
2024-03-06 15:27:31 +01:00
committed by GitHub
parent 6e9f01b4f9
commit 980af06a6b
+4
View File
@@ -817,3 +817,7 @@
actual_hud.invisibility = invis_value
else
actual_hud.invisibility = initial(actual_hud.invisibility)
// Yes we need to remove the HUD from all HUDs then re-add it to update the HUD being invisible.
// No, I don't like it either.
remove_from_all_data_huds()
add_to_all_human_data_huds()