mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 11:05:50 +01:00
Makes uses of do_after sane (#18334)
* Prevents insta-actions * Do_after sanity NOTE: NUKE do_after_action * Update bonfire.dm * The rest of them Also fixes a tpyo * no minitest :) * . * . * Gets rid of the slowdown for now --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
user.do_attack_animation(M)
|
||||
|
||||
var/turf/T1 = get_turf(M)
|
||||
if (T1 && ((M == user) || do_after(user, 5 SECONDS, M)))
|
||||
if (T1 && ((M == user) || do_after(user, 5 SECONDS, target = M)))
|
||||
if(user && M && (get_turf(M) == T1) && src && src.imps.len)
|
||||
M.visible_message(span_notice("[M] has been backup implanted by [user]."))
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
var/datum/transcore_db/db = SStranscore.db_by_mind_name(M.name)
|
||||
if(db)
|
||||
to_chat(user, span_notice("You begin uploading [M.name] into \the [src]."))
|
||||
if(do_after(user,8 SECONDS,src))
|
||||
if(do_after(user, 8 SECONDS, target = src))
|
||||
var/datum/transhuman/mind_record/record = db.backed_up[M.name]
|
||||
to_chat(user, span_notice("You have successfully uploaded [M.name] into \the [src]"))
|
||||
sleeveInto(record)
|
||||
|
||||
Reference in New Issue
Block a user