From f4c9b1bbbf4ad6a586366dfd79dcfce7a64d5702 Mon Sep 17 00:00:00 2001 From: Sealed101 Date: Sun, 14 May 2023 03:34:29 +0300 Subject: [PATCH] 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 :cl: fix: made gorilla transformation when affected by excess amounts of genetic damage work /:cl: --- code/datums/status_effects/debuffs/genetic_damage.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/status_effects/debuffs/genetic_damage.dm b/code/datums/status_effects/debuffs/genetic_damage.dm index c052fa7b524..438bcc7c690 100644 --- a/code/datums/status_effects/debuffs/genetic_damage.dm +++ b/code/datums/status_effects/debuffs/genetic_damage.dm @@ -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)