Makes the eyeblur effect scale depending on how much eyeblur you have (#7727)

This commit is contained in:
deathride58
2018-11-16 17:46:33 -05:00
committed by kevinz000
parent a01341d358
commit ebaf5ab6a1
3 changed files with 18 additions and 5 deletions
+5 -2
View File
@@ -135,8 +135,11 @@
eye_blind = max(eye_blind-1,1)
else if(eye_blurry) //blurry eyes heal slowly
eye_blurry = max(eye_blurry-1, 0)
if(client && !eye_blurry)
remove_eyeblur()
if(client)
if(!eye_blurry)
remove_eyeblur()
else
update_eyeblur()
/mob/living/proc/update_damage_hud()
return