DoAfter can now raise events so you don't need to use async with it (#4253)
This commit is contained in:
committed by
GitHub
parent
d5e34c6ad4
commit
ef958185fb
@@ -4,6 +4,7 @@ using System.Threading.Tasks;
|
||||
using Content.Server.Hands.Components;
|
||||
using Content.Server.Items;
|
||||
using Content.Server.Stunnable.Components;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Timing;
|
||||
@@ -16,7 +17,7 @@ namespace Content.Server.DoAfter
|
||||
|
||||
private TaskCompletionSource<DoAfterStatus> Tcs { get; }
|
||||
|
||||
public DoAfterEventArgs EventArgs;
|
||||
public readonly DoAfterEventArgs EventArgs;
|
||||
|
||||
public TimeSpan StartTime { get; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user