[MIRROR] hopefully fixes buckshots only shooting one projectile (#8227)

* hopefully fixes buckshots only shooting one projectile  (#61464)

* hopefully fixes buckshots only shooting one projectile

Co-authored-by: Seris02 <49109742+Seris02@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-09-17 21:21:14 +01:00
committed by GitHub
co-authored by Seris02
parent 11b89e4209
commit b855a90d2b
@@ -66,8 +66,9 @@
if(!direct_target)
var/modifiers = params2list(params)
loaded_projectile.preparePixelProjectile(target, user, modifiers, spread)
loaded_projectile.fire(null, direct_target)
var/obj/projectile/loaded_projectile_cache = loaded_projectile
loaded_projectile = null
loaded_projectile_cache.fire(null, direct_target)
return TRUE
/obj/item/ammo_casing/proc/spread(turf/target, turf/current, distro)