Update effect_system.dm

This commit is contained in:
kevinz000
2019-01-27 00:09:24 -08:00
committed by GitHub
parent 55b622c148
commit 67d9dd4a82
@@ -56,6 +56,8 @@ would spawn and follow the beaker, even if it is carried or thrown.
/datum/effect_system/proc/generate_effect()
if(holder)
location = get_turf(holder)
if(location.contents.len > 200) //Bandaid to prevent server crash exploit
return
var/obj/effect/E = new effect_type(location)
total_effects++
var/direction