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
@@ -119,7 +119,7 @@ namespace Content.Server.RCD.Components
|
||||
ExtraCheck = () => IsRCDStillValid(eventArgs, mapGrid, tile, snapPos, startingMode) //All of the sanity checks are here
|
||||
};
|
||||
|
||||
var result = await _doAfterSystem.DoAfter(doAfterEventArgs);
|
||||
var result = await _doAfterSystem.WaitDoAfter(doAfterEventArgs);
|
||||
if (result == DoAfterStatus.Cancelled)
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user