Files
Bubberstation/code/_onclick/drag_drop.dm
SkyratBot 070334be5d [MIRROR] Simple mouse drop improvements (#28597)
* Simple mouse drop improvements (#84406)

## About The Pull Request
1. Mouse drop now uses `CanReach()` which is more versatile instead of
`Adjacent()` for adjacency checks
2. `CanReach()` & `DirectAccess()` are now part of `atom`. It's been
moved up from `atom/movable`
3. It won't again check for adjacency inside `can_perform_action()`
saving some overhead
4. Removing the nested `if` conditions from code is always a plus

## Changelog
🆑
code: improved mouse drag & drop code
/🆑

* Simple mouse drop improvements

---------

Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com>
2024-07-04 10:48:19 +05:30

7.7 KiB