mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +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:
@@ -78,7 +78,7 @@
|
||||
return
|
||||
|
||||
user.visible_message("<b>[user]</b> starts making a scan of \the [target]...", SPAN_NOTICE("You start making a scan of \the [target]..."), range = 3)
|
||||
if(do_after(user, 30 * length(pages_to_scan), TRUE, target))
|
||||
if(do_after(user, 30 * length(pages_to_scan), target))
|
||||
if(!drive)
|
||||
to_chat(user, SPAN_WARNING("\The [src] doesn't have a drive installed."))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user