From 0e147df653f5cb972ffc1ca2271714a8cfa43912 Mon Sep 17 00:00:00 2001 From: FenodyreeAv Date: Sat, 23 May 2026 21:09:21 +0100 Subject: [PATCH] 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. --- code/modules/mob/living/simple_animal/hostile/hostile.dm | 2 +- html/changelogs/FixesSimpleMobProjectiles.yml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/FixesSimpleMobProjectiles.yml diff --git a/code/modules/mob/living/simple_animal/hostile/hostile.dm b/code/modules/mob/living/simple_animal/hostile/hostile.dm index f0aab6a2c55..d0b0163606a 100644 --- a/code/modules/mob/living/simple_animal/hostile/hostile.dm +++ b/code/modules/mob/living/simple_animal/hostile/hostile.dm @@ -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)) diff --git a/html/changelogs/FixesSimpleMobProjectiles.yml b/html/changelogs/FixesSimpleMobProjectiles.yml new file mode 100644 index 00000000000..fefdbb2caaf --- /dev/null +++ b/html/changelogs/FixesSimpleMobProjectiles.yml @@ -0,0 +1,7 @@ + +author: Fenodyree + +delete-after: True + +changes: + - bugfix: "Fixes all hostile simple mobs shooting the base projectile, instead of their specified projectile."