Skip to content

Commit

Permalink
Update damage_coeff_helper.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
LanceSmites328 committed Oct 21, 2023
1 parent 5d760d9 commit ab31b41
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions code/modules/mob/living/simple_animal/damage_coeff_helper.dm
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@
* * TRUE if value was successfully changed.
*/
/mob/living/simple_animal/proc/ChangeResistance(resistance, value, update = TRUE)
. = FALSE
if(!(resistance in list(RED_DAMAGE, WHITE_DAMAGE, BLACK_DAMAGE, PALE_DAMAGE)))
return
unmodified_damage_coeff[resistance] = value
if(update)
UpdateResistances()
Expand Down

0 comments on commit ab31b41

Please sign in to comment.