From eac836619e871126d8f7ae671bde532f9dd8c5aa Mon Sep 17 00:00:00 2001 From: Neloreck Date: Fri, 23 Jun 2023 03:12:23 +0300 Subject: [PATCH] Fixtures imports/shortcuts updated. --- src/engine/core/utils/relation/get.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/engine/core/utils/relation/get.ts b/src/engine/core/utils/relation/get.ts index aafca13b7..d2476bfc9 100644 --- a/src/engine/core/utils/relation/get.ts +++ b/src/engine/core/utils/relation/get.ts @@ -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 = alife().object(squadId);