[MIRROR] Fixes BRPED beam (#3448)

* Fixes BRPED beam (#56949)

The brped beam now hits exactly the object

* Fixes BRPED beam

Co-authored-by: drongood12 <73915636+drongood12@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-02-17 14:46:26 +01:00
committed by GitHub
parent e2a7918771
commit f6544a13ba
+2 -2
View File
@@ -20,7 +20,7 @@ If you create T5+ please take a pass at mech_fabricator.dm. The parts being good
return ..()
if(user.Adjacent(T)) // no TK upgrading.
if(works_from_distance)
Beam(T, icon_state = "rped_upgrade", time = 5)
user.Beam(T, icon_state = "rped_upgrade", time = 5)
T.exchange_parts(user, src)
return TRUE
return ..()
@@ -29,7 +29,7 @@ If you create T5+ please take a pass at mech_fabricator.dm. The parts being good
if(adjacent || !istype(T) || !T.component_parts)
return ..()
if(works_from_distance)
Beam(T, icon_state = "rped_upgrade", time = 5)
user.Beam(T, icon_state = "rped_upgrade", time = 5)
T.exchange_parts(user, src)
return
return ..()