mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
Fixes runtime on dehydrated space carp (#19004)
* Fixes runtime on dehydrated space carp * Oops * *screaming noises*
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user