The worker was hardcoding AttackRadius2=5 in executeMatch, but engine.ConfigForPlayers sets AttackRadius2=12 for both 2-player and 3+ matches. This mismatch meant matches ran with the old attack radius instead of the improved value that supports better combat density. Now uses ConfigForPlayers which provides: - AttackRadius2: 12 (3.5 tiles) for all player counts - Proper zone parameters scaled by player count - Correct max turns scaling Grid dimensions are overridden from the pre-generated map, and SeasonID/RulesVersion are preserved from the match. Closes: bf-576s Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api.go | ||
| b2.go | ||
| crash_test.go | ||
| crypto.go | ||
| db.go | ||
| Dockerfile | ||
| glicko2.go | ||
| main.go | ||
| metrics.go | ||
| metrics_test.go | ||