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