X-4 Bugfix

This commit is contained in:
SamCroswell
2016-07-14 15:42:15 -04:00
parent 8de15da316
commit 5772735d0e
@@ -164,7 +164,7 @@
if(location)
if(istype(loc, /obj/item/weapon/twohanded/spear))
explosion(location, 0, 2, 3)
else if(target.density)
else if(target && target.density)
var/turf/T = get_step(location, aim_dir)
explosion(get_step(T, aim_dir),0,0,3)
explosion(T,0,2,0)