Reflective Fix

This commit is contained in:
Ty-Omaha
2019-06-24 02:19:20 -04:00
parent 570198993f
commit d62de2a6fb

View File

@@ -37,6 +37,9 @@
/obj/structure/blob/shield/reflective/handle_ricochet(obj/item/projectile/P)
if(P.is_reflectable && prob(reflect_chance))
if(P.legacy) // to prevent legacy projectile exploits
visible_message("<span class='warning'>[P] dispereses into energy from [src]!</span>")
qdel(P)
var/P_turf = get_turf(P)
var/face_direction = get_dir(src, P_turf)
var/face_angle = dir2angle(face_direction)