DoAfter Refactor (#13225)
Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
using System.Threading;
|
||||
|
||||
namespace Content.Server.Storage.Components;
|
||||
namespace Content.Server.Storage.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class BluespaceLockerComponent : Component
|
||||
@@ -55,8 +53,6 @@ public sealed class BluespaceLockerComponent : Component
|
||||
[DataField("pickLinksFromNonBluespaceLockers"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public bool PickLinksFromNonBluespaceLockers = true;
|
||||
|
||||
public CancellationTokenSource? CancelToken;
|
||||
|
||||
/// <summary>
|
||||
/// Determines if links automatically added get the source locker set as a target
|
||||
/// </summary>
|
||||
|
||||
@@ -30,11 +30,6 @@ namespace Content.Server.Storage.Components
|
||||
[DataField("areaInsert")]
|
||||
public bool AreaInsert = false; // "Attacking" with the storage entity causes it to insert all nearby storables after a delay
|
||||
|
||||
/// <summary>
|
||||
/// Token for interrupting area insert do after.
|
||||
/// </summary>
|
||||
public CancellationTokenSource? CancelToken;
|
||||
|
||||
[DataField("areaInsertRadius")]
|
||||
public int AreaInsertRadius = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user