Makes genetic damage gorillas work (#75398)

## About The Pull Request
Moves the genetic damage status effect's `qdel()` after making the
status effect's owner a gorilla.
Basically un-fucks the interaction, as it was accidentally fucked in
#74799, see
https://github.com/tgstation/tgstation/issues/74981#issuecomment-1546140751

## Why It's Good For The Game
Fixes #74981

## Changelog
🆑
fix: made gorilla transformation when affected by excess amounts of
genetic damage work
/🆑
This commit is contained in:
Sealed101
2023-05-14 03:34:29 +03:00
committed by GitHub
parent 1f5f6dd923
commit f4c9b1bbbf
@@ -33,9 +33,9 @@
/datum/status_effect/genetic_damage/tick(seconds_per_tick, times_fired)
if(ismonkey(owner) && total_damage >= GORILLA_MUTATION_MINIMUM_DAMAGE && SPT_PROB(GORILLA_MUTATION_CHANCE_PER_SECOND, seconds_per_tick))
qdel(src)
var/mob/living/carbon/carbon_owner = owner
carbon_owner.gorillize()
qdel(src)
return
if(total_damage >= minimum_before_tox_damage)