fix chasm heisentest (#40456)

fix chasm test
This commit is contained in:
slarticodefast 2025-09-20 07:12:10 +02:00 committed by Vanessa
parent 31b865f08b
commit c34c22c8f0
1 changed files with 0 additions and 9 deletions

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);
} }
} }