Merge pull request #44178 from AnturK/transformruntime

Fixes transform runtimes.
This commit is contained in:
ShizCalev
2019-05-28 22:56:26 -04:00
committed by GitHub
@@ -15,13 +15,13 @@
amount = dna.species.spec_stun(src, amount)
return ..()
/mob/living/carbon/human/Unconscious(amount, updating = 1, ignore_canunconscious = 0)
/mob/living/carbon/human/Unconscious(amount, updating = 1, ignore_canstun = 0)
amount = dna.species.spec_stun(src,amount)
if(HAS_TRAIT(src, TRAIT_HEAVY_SLEEPER))
amount *= rand(1.25, 1.3)
return ..()
/mob/living/carbon/human/Sleeping(amount, updating = 1, ignore_sleepimmune = 0)
/mob/living/carbon/human/Sleeping(amount, updating = 1, ignore_canstun = 0)
if(HAS_TRAIT(src, TRAIT_HEAVY_SLEEPER))
amount *= rand(1.25, 1.3)
return ..()