200c061dd3bce8ca2173e46f89ff30ce9196e835
_highlight_ability_targets was ignoring the target selector's filters array entirely — it showed all ownership-matched units as clickable regardless of spatial constraints. The server correctly rejected out-of-range selections (after the previous fix) but the UI still offered them. Added _unit_passes_filters() and _tile_passes_filters() which evaluate the withinrange and isadjacenttosource filters using Manhattan distance from the ability source unit before adding a tile highlight. Other filters (HasFlag, AffinityMatches, etc.) are left as pass-through for now since they didn't affect visibility in any reported case. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
Description
No description provided
53 MiB
Languages
C#
52.7%
HTML
24.9%
GDScript
21.2%
CSS
0.8%
Python
0.3%
Other
0.1%