Fixes changeling thermal vision reverting. (#19486)

Reapplied the stop_sight_update check in life.dm. Tested successfully
with changeling thermal vision.
This commit is contained in:
Evandorf
2024-06-20 10:24:43 +00:00
committed by GitHub
parent 65b9a5f516
commit fa843b8fa1
2 changed files with 61 additions and 0 deletions
+3
View File
@@ -160,6 +160,9 @@
setEarDamage(-1, max(ear_deaf, 1))
/mob/living/proc/update_sight()
if(stop_sight_update)
return
set_sight(0)
if(stat == DEAD || (eyeobj && !eyeobj.living_eye))
update_dead_sight()