Loot 3 group B fix: compare FloatingBodyId with Equals (the type has no ==)

8b2eef7b did not build (CS0019 at PickupTests.cs:419); this commit builds the test project.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-13 18:23:40 +02:00
commit 24ab95af8d
3 changed files with 1 additions and 1 deletions

View file

@ -416,7 +416,7 @@ public sealed class PickupTests : IDisposable
var events = Watch(ship, bag);
ship.TractorCommand = 1;
Tick(lab, 300, 1 / 60f);
Assert.Contains(events, e => e.Phase == GrabPhase.Started && e.Target == ore.Id);
Assert.Contains(events, e => e.Phase == GrabPhase.Started && e.Target.Equals(ore.Id));
Assert.Contains(events, e => e.Phase == GrabPhase.Completed);
Assert.False(lab.Zone.FloatingItems.Contains(ore), "ore is still in the zone");
Assert.Equal(16, ship.CargoBays[0].Cargo.Count);