Skip to content

2026-May-07 - 2.7.15491

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 07 May 03:15
86e3d4f
fix(battle calc):detect battles against neutrals (#14336)

* fix(battle calc):detect battles against neutrals

When doing a battle calc against neutrals, instead
of the neutrals showing up it is instead the next
enemy player.

This update fixes that, so that the neutral units
(which are present in the territory) would show
up as the defenders.

Expectation is: battle calc on a territory should
prefer to pull up the owner of the territory
as the defender, which could be neutrals.

* Test fix

* Formatting