DoAfter can now raise events so you don't need to use async with it (#4253)

This commit is contained in:
Vera Aguilera Puerto
2021-07-04 13:32:24 +02:00
committed by GitHub
parent d5e34c6ad4
commit ef958185fb
21 changed files with 106 additions and 38 deletions

View File

@@ -68,7 +68,7 @@ namespace Content.Server.Body.Surgery
BreakOnTargetMove = true
};
return await doAfterSystem.DoAfter(args) == DoAfterStatus.Finished;
return await doAfterSystem.WaitDoAfter(args) == DoAfterStatus.Finished;
}
private bool HasIncisionNotClamped()