From 00151500a9120c5af1a4da4fb30fbe04700e4f31 Mon Sep 17 00:00:00 2001 From: Cameron Lennox Date: Sun, 16 Nov 2025 19:35:32 -0500 Subject: [PATCH] Do after implanter fixes (#11993) --- code/modules/food/food/superfoods_ch.dm | 2 +- code/modules/resleeving/implant_ch.dm | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/modules/food/food/superfoods_ch.dm b/code/modules/food/food/superfoods_ch.dm index 6d297db481..df82b9382a 100644 --- a/code/modules/food/food/superfoods_ch.dm +++ b/code/modules/food/food/superfoods_ch.dm @@ -553,7 +553,7 @@ /obj/structure/theonepizza/attackby(var/obj/item/W, var/mob/living/user) if(istype(W,/obj/item/material/knife)) user.visible_message(span_bold("\The [user]") + " starts to slowly cut through The One Pizza.", span_notice("You start to slowly cut through The One Pizza.")) - if(do_after(user, slicetime)) + if(do_after(user, slicetime, src)) if(!src) return // We got disappeared already user.visible_message(span_infoplain(span_bold("\The [user]") + " successfully cuts The One Pizza."), span_notice("You successfully cut The One Pizza.")) diff --git a/code/modules/resleeving/implant_ch.dm b/code/modules/resleeving/implant_ch.dm index a66d715359..e72029687a 100644 --- a/code/modules/resleeving/implant_ch.dm +++ b/code/modules/resleeving/implant_ch.dm @@ -20,7 +20,7 @@ user.setClickCooldown(DEFAULT_QUICK_COOLDOWN) - if(do_after(user, 2.5 SECONDS)) + if(do_after(user, 2.5 SECONDS, src)) if(user && src) @@ -45,7 +45,7 @@ to_chat(user, span_notice("You start to unwrench the implanter.")) playsound(src, O.usesound, 50, 1) - if(do_after(user, 15 * O.toolspeed)) + if(do_after(user, 15 * O.toolspeed, src)) to_chat(user, span_notice("You unwrench the implanter.")) anchored = FALSE return @@ -56,7 +56,7 @@ to_chat(user, span_notice("You start to wrench the implanter into place.")) playsound(src, O.usesound, 50, 1) - if(do_after(user, 15 * O.toolspeed)) + if(do_after(user, 15 * O.toolspeed, src)) to_chat(user, span_notice("You wrench the implanter into place.")) anchored = TRUE