From f6544a13bacf2c25632ed4eae7ccff49ceeab67e Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 17 Feb 2021 14:46:26 +0100 Subject: [PATCH] [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> --- code/modules/research/stock_parts.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/research/stock_parts.dm b/code/modules/research/stock_parts.dm index 124f3095f16..8cebd24bbda 100644 --- a/code/modules/research/stock_parts.dm +++ b/code/modules/research/stock_parts.dm @@ -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 ..()