Door collision fixes (#6836)
This commit is contained in:
@@ -140,7 +140,7 @@ public sealed class DoorComponent : Component, ISerializationHooks
|
||||
/// List of EntityUids of entities we're currently crushing. Cleared in OnPartialOpen().
|
||||
/// </summary>
|
||||
[DataField("currentlyCrushing")]
|
||||
public List<EntityUid> CurrentlyCrushing = new();
|
||||
public HashSet<EntityUid> CurrentlyCrushing = new();
|
||||
#endregion
|
||||
|
||||
#region Serialization
|
||||
@@ -238,7 +238,7 @@ public enum DoorVisuals
|
||||
public sealed class DoorComponentState : ComponentState
|
||||
{
|
||||
public readonly DoorState DoorState;
|
||||
public readonly List<EntityUid> CurrentlyCrushing;
|
||||
public readonly HashSet<EntityUid> CurrentlyCrushing;
|
||||
public readonly TimeSpan? NextStateChange;
|
||||
public readonly bool Partial;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user