Fixes 200,000 runtimes during scrubber event

thanks kevinz thanks kevinz thanks kevinz thanks kevinz thanks kevinz thanks kevinz thanks kevinz thanks kevinz thanks kevinz thanks kevinz thanks kevinz thanks kevinz thanks kevinz
This commit is contained in:
Ragolution
2019-03-20 00:35:42 -04:00
parent 81ba8ff40b
commit 0b459ad06f
@@ -37,10 +37,17 @@
..()
dir = pick(1,2,4,8)
/datum/reagent/consumable/semen/reaction_turf(turf/T, reac_volume)
/* /datum/reagent/consumable/semen/reaction_turf(turf/T, reac_volume)
if(!isspaceturf(T))
var/obj/effect/decal/cleanable/reagentdecal = new/obj/effect/decal/cleanable/semen(T)
reagentdecal.reagents.add_reagent("semen", reac_volume)
reagentdecal.reagents.add_reagent("semen", reac_volume) */
/datum/reagent/consumable/semen/reaction_turf(turf/T, reac_volume)
if(!isspaceturf(T))
var/obj/effect/decal/cleanable/semen/S = locate() in T.contents
if(!S)
S = new/obj/effect/decal/cleanable/semen(T)
S.reagents.add_reagent("semen", reac_volume)
/datum/reagent/consumable/femcum
name = "Female Ejaculate"