Skip to content

Commit

Permalink
[MIRROR] Carps migrating through the station no longer idle so they d…
Browse files Browse the repository at this point in the history
…on't get stuck after spawning until someone walks by. (#2976)

* 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: NovaBot <[email protected]>
Co-authored-by: Iamgoofball <[email protected]>
  • Loading branch information
3 people authored Apr 20, 2024
1 parent 0815c2f commit e452af4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/mob/living/basic/space_fauna/carp/carp.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e452af4

Please sign in to comment.