[MIRROR] Fixes async_fire_ranged_attack failing to get target_mob for targeting body zone [MDB IGNORE] (#16328)

* Fixes `async_fire_ranged_attack` failing to get `target_mob` for targeting body zone (#70001)

* fix var missing passed value in fire_ranged_attack, allowing glockroaches to fire again.

* Fixes `async_fire_ranged_attack` failing to get `target_mob` for targeting body zone

Co-authored-by: Sealed101 <75863639+Sealed101@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-09-19 22:17:15 -07:00
committed by GitHub
co-authored by Sealed101
parent 0f746742ae
commit ff1acad052
+1 -1
View File
@@ -37,7 +37,7 @@
playsound(firer, projectilesound, 100, TRUE)
var/target_zone
if(ismob(target))
var/mob/target_mob
var/mob/target_mob = target
target_zone = target_mob.get_random_valid_zone()
else
target_zone = ran_zone()