Reflectors now reset the range of a projectile like before! (#35726)

* Reflectors now reset the range of a projectile.

* how about dem apples
This commit is contained in:
Dax Dupont
2018-02-17 20:17:11 +01:00
committed by CitadelStationBot
parent f1d33ec520
commit f31df38f83
2 changed files with 4 additions and 0 deletions
@@ -72,6 +72,8 @@
/obj/structure/reflector/proc/auto_reflect(obj/item/projectile/P, pdir, turf/ploc, pangle)
P.ignore_source_check = TRUE
P.range = P.decayedRange
P.decayedRange = max(P.decayedRange--, 0)
return -1
/obj/structure/reflector/attackby(obj/item/W, mob/user, params)