Fixes runtime on dehydrated space carp (#19004)

* Fixes runtime on dehydrated space carp

* Oops

* *screaming noises*
This commit is contained in:
FloFluoro
2022-09-13 17:53:08 +01:00
committed by GitHub
parent 589f8bef34
commit 4431ddd01a
+3 -2
View File
@@ -39,12 +39,13 @@
/obj/item/toy/carpplushie/dehy_carp/proc/Swell()
desc = "It's growing!"
visible_message("<span class='notice'>[src] swells up!</span>")
// 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