Fix disposals trapping you for eternity when leaving via a trunk pipe (#5498)

This commit is contained in:
20kdc
2021-11-25 02:10:15 +00:00
committed by GitHub
parent fab19cd4ea
commit de0a6511cc
2 changed files with 24 additions and 9 deletions

View File

@@ -56,6 +56,10 @@ namespace Content.Server.Disposal.Unit.Components
[ViewVariables]
public Direction CurrentDirection { get; set; } = Direction.Invalid;
/// <summary>Mistake prevention</summary>
[ViewVariables]
public bool IsExitingDisposals { get; set; } = false;
/// <summary>
/// A list of tags attached to the content, used for sorting
/// </summary>