Have medical scanners and cloning pods be 'climbed upon' on exit. (#5408)

This commit is contained in:
20kdc
2021-11-20 01:03:09 +00:00
committed by GitHub
parent 78dde11bf8
commit 73ca553ad4
6 changed files with 37 additions and 8 deletions

View File

@@ -85,11 +85,7 @@ namespace Content.Server.Climbing.Components
Body.ApplyLinearImpulse((to - from).Normalized * velocity * Body.Mass * 5);
OwnerIsTransitioning = true;
Owner.SpawnTimer((int) (BufferTime * 1000), () =>
{
if (Deleted) return;
OwnerIsTransitioning = false;
});
EntitySystem.Get<ClimbSystem>().UnsetTransitionBoolAfterBufferTime(OwnerUid, this);
}
public void Update()