Skip to content

Commit

Permalink
makes it conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
Paxilmaniac committed Dec 8, 2024
1 parent 93aaffe commit 3958c3a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
QDEL_NULL(energy_tracker)

/datum/species/android/spec_revival(mob/living/carbon/human/target)
core_energy += 0.5 MEGA JOULES
if(core_energy < 0.5 MEGA JOULES)
core_energy += 0.5 MEGA JOULES
playsound(target.loc, 'sound/machines/chime.ogg', 50, TRUE)
target.visible_message(span_notice("[target]'s LEDs flicker to life!"), span_notice("All systems nominal. You're back online!"))

Expand Down

0 comments on commit 3958c3a

Please sign in to comment.