Files
OpenFrontIO/src/client
Mattia Migliorini 542ada969b Replace donate buttons with attack ones for AFK friendly players in radial menu (#2987)
Resolves #2986

## Description:

Shows donate actions in radial menu only when friendly player is NOT
disconnected.
This is needed in order to let mobile/touch users attack AFK teammates.

Current behavior:
<img width="525" height="514" alt="image"
src="https://github.com/user-attachments/assets/78b95e27-443a-4dd5-934b-c8a841b4bf97"
/>

With this PR:
<img width="545" height="457" alt="image"
src="https://github.com/user-attachments/assets/e9792478-6ccd-415f-9199-cff7bfc9356f"
/>


## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced

## Please put your Discord username so you can be contacted if a bug or
regression is found:

deshack_82603
2026-01-22 12:21:14 +00:00
..
2026-01-11 14:52:03 -08:00
2025-12-18 19:41:29 -08:00
2025-10-23 15:02:13 -07:00
2026-01-14 16:56:50 -08:00
2026-01-11 14:52:03 -08:00
2025-09-09 14:37:06 -07:00
2026-01-11 14:52:03 -08:00
2026-01-11 14:52:03 -08:00
2026-01-19 19:28:28 -08:00
2026-01-11 14:52:03 -08:00
2026-01-11 14:52:03 -08:00
2026-01-09 20:26:34 -08:00