Prototype unlimited alliance variant
Verify and publish checkpoint container / container (push) Canceled after 0s

This commit is contained in:
Quintine committed 2026-10-29 00:33:42 +11:00
1 parent 37acaeb9d2
commit 9cb65a21f5
23 files changed
+677 -52

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ export function coalitionBattleBeneficiary(
const seats = game.players.map(player => ({id: player.id, ally: player.ally ?? null,
...(player.allySinceTurn !== undefined ? {allySinceTurn: player.allySinceTurn} : {})}));
const group = coalitionOf(seats, game.coalitionState, ownerId);
if (group?.members.length === 3) {
if (group && group.members.length >= 3) {
const members = combatants.filter(player => group.members.includes(player));
return members.length === 1 ? members[0] : null;
}