mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
HUD-Optimization bugfix, mobs with no clients will update their health
HUD image as well. Conflicts: code/modules/mob/living/carbon/human/life.dm
This commit is contained in:
@@ -1243,11 +1243,10 @@
|
||||
return 1
|
||||
|
||||
proc/handle_regular_hud_updates()
|
||||
if(!client) return 0
|
||||
|
||||
if(hud_updateflag)
|
||||
handle_hud_list()
|
||||
|
||||
if(!client) return 0
|
||||
|
||||
for(var/image/hud in client.images)
|
||||
if(copytext(hud.icon_state,1,4) == "hud") //ugly, but icon comparison is worse, I believe
|
||||
|
||||
Reference in New Issue
Block a user