Cardboard box fixes (#13087)

This commit is contained in:
Leon Friedrich
2022-12-20 16:33:59 +13:00
committed by GitHub
parent 5c9e4f6ca5
commit 586864ee85
3 changed files with 28 additions and 34 deletions

View File

@@ -118,8 +118,6 @@ public sealed class StorageAfterOpenEvent : EventArgs { }
public sealed class StorageCloseAttemptEvent : CancellableEntityEventArgs { }
public sealed class StorageBeforeCloseEvent : EventArgs
{
public EntityUid Container;
public HashSet<EntityUid> Contents;
/// <summary>
@@ -127,9 +125,8 @@ public sealed class StorageBeforeCloseEvent : EventArgs
/// </summary>
public HashSet<EntityUid> BypassChecks = new();
public StorageBeforeCloseEvent(EntityUid container, HashSet<EntityUid> contents)
public StorageBeforeCloseEvent(HashSet<EntityUid> contents)
{
Container = container;
Contents = contents;
}
}