Skip to content

Commit

Permalink
Makes synth livers EMP-able again. Woohoo! (#25412)
Browse files Browse the repository at this point in the history
Fixed typo in synth liver emp_act proc
  • Loading branch information
dis-integrates-the-integration-tests authored and FFMirrorBot committed Dec 3, 2023
1 parent f16aeea commit 83bbe9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modular_skyrat/modules/synths/code/bodyparts/liver.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
maxHealth = 1 * STANDARD_ORGAN_THRESHOLD
organ_flags = ORGAN_ROBOTIC | ORGAN_SYNTHETIC_FROM_SPECIES

/obj/item/organ/internal/lungs/synth/emp_act(severity)
/obj/item/organ/internal/liver/synth/emp_act(severity)
. = ..()

if(. & EMP_PROTECT_SELF)
if(!owner || . & EMP_PROTECT_SELF)
return

if(!COOLDOWN_FINISHED(src, severe_cooldown)) //So we cant just spam emp to kill people.
Expand Down

0 comments on commit 83bbe9e

Please sign in to comment.