DoAfter Refactor (#13225)
Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
using System.Threading;
|
||||
|
||||
namespace Content.Server.Resist;
|
||||
|
||||
[RegisterComponent]
|
||||
@@ -10,9 +8,4 @@ public sealed class CanEscapeInventoryComponent : Component
|
||||
/// </summary>
|
||||
[DataField("baseResistTime")]
|
||||
public float BaseResistTime = 5f;
|
||||
|
||||
/// <summary>
|
||||
/// Cancellation token used to cancel the DoAfter if the mob is removed before it's complete
|
||||
/// </summary>
|
||||
public CancellationTokenSource? CancelToken;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user