Fixes all hostile simple mobs that don't override /fire shooting the wrong projectile (#22484)

Hivebots, & rogue drones tested, they now shoot their lasers and needles
correctly again.
The hivebot beacon is particularly mean.
This commit is contained in:
FenodyreeAv
2026-05-23 20:09:21 +00:00
committed by GitHub
parent c2e182d9fb
commit 0e147df653
2 changed files with 8 additions and 1 deletions
@@ -429,7 +429,7 @@ ABSTRACT_TYPE(/mob/living/simple_animal/hostile)
// var/def_zone = get_exposed_defense_zone(target)
fire_projectile(/obj/projectile, target, projectilesound, firer = user)
fire_projectile(projectiletype, target, projectilesound, firer = user)
/mob/living/simple_animal/hostile/proc/DestroySurroundings(var/bypass_prob = FALSE)
if(ON_ATTACK_COOLDOWN(src))