mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
[Fix] Cyborg ranged clicks now work with the new attack chain (#28535)
* added ranged click, removed buckled check * returned cyborg buckled check --------- Co-authored-by: Toastical <toastical@toaster.com>
This commit is contained in:
@@ -101,8 +101,11 @@
|
||||
// cyborgs are prohibited from using storage items so we can I think safely remove (A.loc && isturf(A.loc.loc))
|
||||
if(can_reach(A, W))
|
||||
W.melee_attack_chain(src, A, params)
|
||||
return
|
||||
W.afterattack__legacy__attackchain(A, src, 0, params)
|
||||
else
|
||||
if(W.new_attack_chain)
|
||||
A.base_ranged_item_interaction(src, W, params)
|
||||
else
|
||||
W.afterattack__legacy__attackchain(A, src, 0, params)
|
||||
return
|
||||
|
||||
/mob/living/silicon/robot/MiddleShiftControlClickOn(atom/A)
|
||||
|
||||
Reference in New Issue
Block a user