Fixing owner not being set in mutation/on_aquiring.

This commit is contained in:
Ghommie
2020-03-22 15:23:05 +01:00
parent 82cf7e584b
commit 3c2cb76792
15 changed files with 49 additions and 46 deletions
+1 -1
View File
@@ -111,7 +111,7 @@
energy_coeff = 1
synchronizer_coeff = 1
/datum/mutation/human/void/on_life(mob/living/carbon/human/owner)
/datum/mutation/human/void/on_life()
if(!isturf(owner.loc))
return
if(prob((0.5+((100-dna.stability)/20))) * GET_MUTATION_SYNCHRONIZER(src)) //very rare, but enough to annoy you hopefully. +0.5 probability for every 10 points lost in stability