mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 06:07:22 +01:00
[MIRROR] Refactors do_after w/ TG's do_after (#11486)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
c1fffe13f3
commit
f85a202d80
@@ -16,7 +16,7 @@
|
||||
if(!choice||choice=="No")
|
||||
return
|
||||
user.visible_message("[user] starts dispersing the [src]...", runemessage = "disperses the [src]")
|
||||
if(do_after(user, 5 SECONDS, exclusive = TASK_USER_EXCLUSIVE))
|
||||
if(do_after(user, 5 SECONDS))
|
||||
qdel(src)
|
||||
else
|
||||
to_chat(user, span_notice("There is something growing here."))
|
||||
|
||||
Reference in New Issue
Block a user