From 67d9dd4a82660279df5e00eb9a5dfc80bda8a1d2 Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Sun, 27 Jan 2019 00:09:24 -0800 Subject: [PATCH] Update effect_system.dm --- code/game/objects/effects/effect_system/effect_system.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/objects/effects/effect_system/effect_system.dm b/code/game/objects/effects/effect_system/effect_system.dm index eb4c562c36..ddc805f3ff 100644 --- a/code/game/objects/effects/effect_system/effect_system.dm +++ b/code/game/objects/effects/effect_system/effect_system.dm @@ -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