Skip to content

Commit

Permalink
Update code/modules/mob/living/living_health_procs.dm
Browse files Browse the repository at this point in the history
Co-authored-by: Doubleumc <[email protected]>
  • Loading branch information
VileBeggar and Doubleumc authored Aug 2, 2024
1 parent 8fdb3f2 commit c604d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/living_health_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@

/mob/living/proc/AdjustEarDeafness(amount)
var/prev_deaf = ear_deaf
ear_deaf = clamp(max(ear_deaf + amount, 0), 0, 30) //roughly 1 minute
ear_deaf = clamp(ear_deaf + amount, 0, 30) //roughly 1 minute
if(prev_deaf)
if(ear_deaf == 0)
on_deafness_loss()
Expand Down

0 comments on commit c604d22

Please sign in to comment.