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
@@ -522,7 +522,7 @@ namespace Content.Server.Storage.Components
|
||||
BreakOnUserMove = true,
|
||||
NeedHand = true,
|
||||
};
|
||||
var result = await doAfterSystem.DoAfter(doAfterArgs);
|
||||
var result = await doAfterSystem.WaitDoAfter(doAfterArgs);
|
||||
if (result != DoAfterStatus.Finished) return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user