fix chasm heisentest (#40456)

fix chasm test
This commit is contained in:
slarticodefast
2025-09-20 07:12:10 +02:00
committed by GitHub
parent c2fb4a126f
commit 512f28458c

View File

@@ -131,14 +131,5 @@ public sealed class ChasmTest : MovementTest
// Check that the player no longer hooked. // Check that the player no longer hooked.
Assert.That(grapplingSystem.IsEntityHooked(SPlayer), Is.False, "Player still hooked after dropping the grappling gun."); Assert.That(grapplingSystem.IsEntityHooked(SPlayer), Is.False, "Player still hooked after dropping the grappling gun.");
Assert.That(HasComp<JointRelayTargetComponent>(Player), Is.False, "Player still has the JointRelayTargetComponent after dropping the grappling gun."); Assert.That(HasComp<JointRelayTargetComponent>(Player), Is.False, "Player still has the JointRelayTargetComponent after dropping the grappling gun.");
// Attempt (and fail) to walk past the chasm.
await Move(DirectionFlag.West, 1f);
// Wait until we get deleted.
await Pair.RunSeconds(5f);
// Check that the player was deleted
AssertDeleted(Player);
} }
} }