Fixes a runtime where deployable turrets were spawning projectiles with no source (#76693)

## About The Pull Request

Title.
## Why It's Good For The Game

Runtimes bad.
## Changelog
🆑
fix: Deployable turrets no longer runtime when firing
/🆑
This commit is contained in:
nikothedude
2023-07-12 19:29:52 -06:00
committed by GitHub
parent dfe5d4ad25
commit fa8413a35e
@@ -202,7 +202,7 @@
var/turf/targets_from = get_turf(src)
if(QDELETED(target))
target = target_turf
var/obj/projectile/projectile_to_fire = new projectile_type
var/obj/projectile/projectile_to_fire = new projectile_type(targets_from)
playsound(src, firesound, 75, TRUE)
projectile_to_fire.preparePixelProjectile(target, targets_from)
projectile_to_fire.firer = user