Skip to content

Commit

Permalink
[MIRROR] Fix radiation not causing mutations or making you bald (3 ye…
Browse files Browse the repository at this point in the history
…ar old bug) (#2513) (#3343)

* Fix radiation not causing mutations or making you bald (3 year old bug) (#83251)

## About The Pull Request

Stat is never greater than dead

## Changelog

:cl: Melbert
fix: After 3 years, radiation now causes you to go bald and mutate again
/:cl:

* Fix radiation not causing mutations or making you bald (3 year old bug)

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: MrMelbert <[email protected]>
Co-authored-by: NovaBot13 <[email protected]>
  • Loading branch information
4 people authored May 16, 2024
1 parent 45d2f51 commit 0fd8896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/components/irradiated.dm
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
if (should_halt_effects(parent))
return

if (human_parent.stat > DEAD)
if (human_parent.stat != DEAD)
human_parent.dna?.species?.handle_radiation(human_parent, world.time - beginning_of_irradiation, seconds_per_tick)

process_tox_damage(human_parent, seconds_per_tick)
Expand Down

0 comments on commit 0fd8896

Please sign in to comment.