From 4431ddd01a3919f5187babc62ab354838f6a5ae0 Mon Sep 17 00:00:00 2001 From: FloFluoro <3611705+FloFluoro@users.noreply.github.com> Date: Tue, 13 Sep 2022 12:53:08 -0400 Subject: [PATCH] Fixes runtime on dehydrated space carp (#19004) * Fixes runtime on dehydrated space carp * Oops * *screaming noises* --- code/game/objects/items/dehy_carp.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/dehy_carp.dm b/code/game/objects/items/dehy_carp.dm index 1c30c4c5184..e7d36df1fba 100644 --- a/code/game/objects/items/dehy_carp.dm +++ b/code/game/objects/items/dehy_carp.dm @@ -39,12 +39,13 @@ /obj/item/toy/carpplushie/dehy_carp/proc/Swell() desc = "It's growing!" visible_message("[src] swells up!") - // Animation icon = 'icons/mob/carp.dmi' flick("carp_swell", src) // Wait for animation to end - sleep(6) + addtimer(CALLBACK(src, .proc/make_carp), 6) + +/obj/item/toy/carpplushie/dehy_carp/proc/make_carp() // Make space carp var/mob/living/simple_animal/hostile/carp/C = new /mob/living/simple_animal/hostile/carp(get_turf(src)) // Make carp non-hostile to user, yes this means