From eb4fcd8a005abaad1fcbdd1205879b8e979e55d7 Mon Sep 17 00:00:00 2001 From: SandPoot Date: Mon, 22 Feb 2021 13:51:49 -0300 Subject: [PATCH] for some reason A doesn't have istype? what. --- .../mob/living/simple_animal/hostile/mining_mobs/hivelord.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm index 340458c132..446fe80c7d 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm @@ -42,7 +42,7 @@ A.GiveTarget(target) A.friends = friends A.faction = faction.Copy() - if(!A.istype(/mob/living/simple_animal/hostile/poison/bees/toxin)) + if(!A == /mob/living/simple_animal/hostile/poison/bees/toxin) A.my_creator = type ranged_cooldown = world.time + ranged_cooldown_time