From 3fc09cd13be834aaedcf70c49bcfcd874dd7e1c4 Mon Sep 17 00:00:00 2001 From: Garen Crownguard <22408776+Garen7@users.noreply.github.com> Date: Wed, 29 May 2019 22:09:58 -0500 Subject: [PATCH] you cant spam soul stones anymore --- code/modules/antagonists/wizard/equipment/soulstone.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/antagonists/wizard/equipment/soulstone.dm b/code/modules/antagonists/wizard/equipment/soulstone.dm index 1178d4ba3d0..8a1c6a29f03 100644 --- a/code/modules/antagonists/wizard/equipment/soulstone.dm +++ b/code/modules/antagonists/wizard/equipment/soulstone.dm @@ -212,6 +212,8 @@ /proc/makeNewConstruct(mob/living/simple_animal/hostile/construct/ctype, mob/target, mob/stoner = null, cultoverride = 0, loc_override = null) + if(QDELETED(target)) + return var/mob/living/simple_animal/hostile/construct/newstruct = new ctype((loc_override) ? (loc_override) : (get_turf(target))) if(stoner) newstruct.faction |= "[REF(stoner)]"