Skip to content

Commit

Permalink
Fixtures imports/shortcuts updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neloreck committed Jun 23, 2023
1 parent b9f6284 commit eac8366
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/engine/core/utils/relation/get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,10 @@ export function getSquadCommunityRelationToActor(squadStoryId: TStringId): ERela
}

/**
* todo;
* Get squad relation to actor based on config preference or squad/actor community relation.
*
* @param squadId - target squad id
* @returns relation type of squad to actor based on community
*/
export function getSquadRelationToActorById(squadId: TNumberId): ERelation {
const squad: Optional<Squad> = alife().object<Squad>(squadId);
Expand Down

0 comments on commit eac8366

Please sign in to comment.