fix(test): add is_ranged field to stale AttackRequest in pvp_combat_determinism
The RangedAttack dispatch work (e8dd4a85b) added `is_ranged` to
`AttackRequest`, but the mc-golden-tests pvp_combat_determinism test still
constructed the struct without it, breaking `cargo test --workspace` (and
the cloud fleet) with E0063. Set `false` for this melee-combat test,
matching the mc-turn PvP tests.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
6332d47011
commit
04fabbc1c2
1 changed files with 1 additions and 0 deletions
|
|
@ -170,6 +170,7 @@ fn pending_pvp_attacks_queue_resolved_at_start_of_turn() {
|
|||
attacker_unit: 0,
|
||||
defender_player: 1,
|
||||
defender_unit: 0,
|
||||
is_ranged: false,
|
||||
}],
|
||||
..Default::default()
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue