Files
OpenFrontIO/src/core/game
VariableVince 1d73401c72 Small perf: find() instead of filter() for retreat (#3277)
## Description:

Only need find() instead of filter() in orderRetreat and executeRetreat,
since we just need the first hit. Small perf win.

## 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:

tryout33
2026-02-22 21:54:10 -06:00
..
2026-02-18 17:00:56 -06:00
2026-01-14 01:00:55 +00:00
2025-12-18 16:20:23 -08:00
2026-02-12 15:00:56 -08:00
2026-02-19 19:01:12 -06:00
2026-02-18 17:00:56 -06:00