Skip to content

Commit

Permalink
merge skew
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsar-Salat committed Aug 22, 2024
1 parent 04e09dc commit f1f724b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/_onclick/click.dm
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
if(closed[target] || isarea(target)) // avoid infinity situations
continue

if(isturf(target) || isturf(target.loc) || (target in direct_access) || (ismovable(target) && target.flags_1 & IS_ONTOP_1)) //Directly accessible atoms
if(isturf(target) || isturf(target.loc) || HasDirectAccess(target) || (ismovable(target) && target.flags_1 & IS_ONTOP_1)) //Directly accessible atoms
if(Adjacent(target) || (tool && CheckToolReach(src, target, tool.reach))) //Adjacent or reaching attacks
return TRUE

Expand Down

0 comments on commit f1f724b

Please sign in to comment.