Replaces typesof with subtypesof where applicable

This commit is contained in:
DZD
2015-08-03 11:04:28 -04:00
parent 809be52c98
commit d9bb30f47a
55 changed files with 93 additions and 97 deletions
+1 -1
View File
@@ -77,7 +77,7 @@
proc/trigger_side_effect(mob/living/carbon/human/H)
spawn
if(!istype(H)) return
var/tp = pick(typesof(/datum/genetics/side_effect) - /datum/genetics/side_effect)
var/tp = pick(subtypesof(/datum/genetics/side_effect))
var/datum/genetics/side_effect/S = new tp
S.start(H)