prevents spawner kills

This commit is contained in:
4dplanner
2018-11-28 14:19:04 +00:00
parent a64a7e5789
commit 360bc5a82a
+6
View File
@@ -18,6 +18,12 @@
. = ..()
AddComponent(/datum/component/spawner, mob_types, spawn_time, faction, spawn_text, max_mobs)
/obj/structure/spawner/attack_animal(mob/living/simple_animal/M)
if(faction_check(faction, M.faction, FALSE)&&!M.client)
return
..()
/obj/structure/spawner/syndicate
name = "warp beacon"
icon = 'icons/obj/device.dmi'