mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 01:24:21 +01:00
[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:
@@ -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 ..()
|
||||
|
||||
Reference in New Issue
Block a user