mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
[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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user