moves atom/target in do_after() forward (#14161)

* wowzers

* s2

Co-authored-by: Maxim Nikitin <mnmaxim@gmail.com>

* s3

Co-authored-by: Maxim Nikitin <mnmaxim@gmail.com>

Co-authored-by: Maxim Nikitin <mnmaxim@gmail.com>
Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
This commit is contained in:
tattax
2022-05-30 17:25:59 -03:00
committed by GitHub
parent 2e333c12cb
commit c278cf30cf
238 changed files with 477 additions and 455 deletions

View File

@@ -314,7 +314,7 @@
to_chat(user, span_warning("Close the access panel before manipulating the personality slot!"))
else
to_chat(user, span_notice("You attempt to pull [paicard] free..."))
if(do_after(user, 3 SECONDS, target = src))
if(do_after(user, 3 SECONDS, src))
if (paicard)
user.visible_message(span_notice("[user] uses [W] to pull [paicard] out of [bot_name]!"),span_notice("You pull [paicard] out of [bot_name] with [W]."))
ejectpai(user)