LaunchSuppressorTests: activate the beam through its ConstantWeapon type
15b12cb9 does not build: Behavior has no Activate; this commit fixes the one compile error.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
15b12cb95b
commit
7e0b950d63
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ public sealed partial class ContactRevealTests
|
|||
foreach (var ship in new[] { paying, twin, control })
|
||||
{
|
||||
ship.SetTarget(TargetRef.None);
|
||||
BeamItem(ship).Behaviors.Single(b => b is ConstantWeapon).Activate();
|
||||
BeamItem(ship).Behaviors.OfType<ConstantWeapon>().Single().Activate();
|
||||
}
|
||||
var p = CellOf(SuppressorItem(paying, "Suppressor"));
|
||||
var t = CellOf(SuppressorItem(twin, "SuppressorCold"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue