Skip to content

Commit

Permalink
fix lurker invisibility
Browse files Browse the repository at this point in the history
fix merge issue, lurkers kept flickering their invisibility
  • Loading branch information
Doubleumc committed Aug 3, 2024
1 parent c47f48f commit bb52e3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/mob/living/carbon/xenomorph/life.dm
Original file line number Diff line number Diff line change
Expand Up @@ -533,15 +533,15 @@ Make sure their actual health updates immediately.*/
if(stat <= CONSCIOUS && !gibbing)
set_stat(UNCONSCIOUS)

SEND_SIGNAL(src, COMSIG_XENO_HANDLE_CRIT)

/mob/living/carbon/xenomorph/set_stat(new_stat)
. = ..()
// Temporarily force triggering HUD updates so they apply immediately rather than on Life tick.
// Remove this once effects have been ported to trait signals (blinded, dazed, etc)
if(stat != .)
handle_regular_hud_updates()

SEND_SIGNAL(src, COMSIG_XENO_HANDLE_CRIT)

/mob/living/carbon/xenomorph/proc/handle_luminosity()
var/new_luminosity = 0
if(caste)
Expand Down

0 comments on commit bb52e3a

Please sign in to comment.