mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 15:38:02 +01:00
Fixes a unneded currently_restrained check (#17097)
Fixes a unneded currently_restrained check
This commit is contained in:
@@ -145,7 +145,7 @@
|
||||
trigger_aiming(TARGET_CAN_CLICK)
|
||||
return
|
||||
else
|
||||
if(!currently_restrained && A.Adjacent(src) || (W && W.attack_can_reach(src, A, W.reach)) ) // see adjacent.dm
|
||||
if(A.Adjacent(src) || (W && W.attack_can_reach(src, A, W.reach)) ) // see adjacent.dm
|
||||
if(W && !restrained())
|
||||
// Return 1 in attackby() to prevent afterattack() effects (when safely moving items for example)
|
||||
var/resolved = W.resolve_attackby(A,src, click_parameters = params)
|
||||
|
||||
Reference in New Issue
Block a user