[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:
Toastical
2025-03-20 14:19:33 +00:00
committed by GitHub
co-authored by Toastical
parent 6b285826ab
commit 76ae400fa7
+5 -2
View File
@@ -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)