POLARIS: Beam weapons runtime when you shoot yourself

This commit is contained in:
Arokha Sieyes
2018-03-17 21:41:53 -04:00
parent ef904f453c
commit e8258ff13f

View File

@@ -401,7 +401,7 @@
P.activate() P.activate()
/obj/item/projectile/proc/impact_effect(var/matrix/M) /obj/item/projectile/proc/impact_effect(var/matrix/M)
if(ispath(tracer_type)) if(ispath(tracer_type) && location)
var/obj/effect/projectile/P = new impact_type(location.loc) var/obj/effect/projectile/P = new impact_type(location.loc)
if(istype(P)) if(istype(P))