mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 21:40:55 +01:00
Refactored do_after to use a flag-based system for options (#17127)
* Refactored do_after to use a flag-based system for options * More flags * Ditto * Use the HAS_FLAG macro * do_after pass * Fix burning paper code * Resolve issues from Fluffy's code reviews * .
This commit is contained in:
@@ -159,7 +159,7 @@
|
||||
|
||||
to_chat(user, SPAN_NOTICE("Building [recipe.title]..."))
|
||||
if (recipe.time)
|
||||
if (!do_after(user, recipe.time))
|
||||
if (!do_after(user, recipe.time, do_flags = DO_REPAIR_CONSTRUCT))
|
||||
return
|
||||
|
||||
if (use(required))
|
||||
|
||||
Reference in New Issue
Block a user