From 7977da7aa8b6a8362bc8772f838374d817981b57 Mon Sep 17 00:00:00 2001 From: NovaBot <154629622+NovaBot13@users.noreply.github.com> Date: Fri, 19 Apr 2024 17:51:39 -0400 Subject: [PATCH] [MIRROR] Carps migrating through the station no longer idle so they don't get stuck after spawning until someone walks by. (#2092) * Carps migrating through the station no longer idle so they don't get stuck after spawning until someone walks by. (#82744) ## About The Pull Request Carps migrating through the station no longer idle so they don't get stuck after spawning until someone walks by. ## Why It's Good For The Game Bugfix for Carp Migrations. ## Changelog :cl: fix: Carps migrating through the station no longer idle so they don't get stuck after spawning until someone walks by. /:cl: * Carps migrating through the station no longer idle so they don't get stuck after spawning until someone walks by. --------- Co-authored-by: Iamgoofball --- code/modules/mob/living/basic/space_fauna/carp/carp.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/basic/space_fauna/carp/carp.dm b/code/modules/mob/living/basic/space_fauna/carp/carp.dm index cf905de5dbf..ee2073987da 100644 --- a/code/modules/mob/living/basic/space_fauna/carp/carp.dm +++ b/code/modules/mob/living/basic/space_fauna/carp/carp.dm @@ -134,6 +134,8 @@ /// Gives the carp a list of weakrefs of destinations to try and travel between when it has nothing better to do /mob/living/basic/carp/proc/migrate_to(list/datum/weakref/migration_points) + ai_controller.can_idle = FALSE + ai_controller.set_ai_status(AI_STATUS_ON) // We need htem to actually walk to the station var/list/actual_points = list() for(var/datum/weakref/point_ref as anything in migration_points) var/turf/point_resolved = point_ref.resolve()