From 51e5f539650079586469c2fe553f9e516189749c Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Wed, 8 Apr 2026 14:43:53 +0200 Subject: [PATCH] #LEGION Fix for MinDistance when nil and spawning on a ship --- Moose Development/Moose/Ops/Legion.lua | 2 +- Moose Development/Moose/Sound/SRS.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Moose Development/Moose/Ops/Legion.lua b/Moose Development/Moose/Ops/Legion.lua index 1576a40d5..4f5a6c249 100644 --- a/Moose Development/Moose/Ops/Legion.lua +++ b/Moose Development/Moose/Ops/Legion.lua @@ -2581,7 +2581,7 @@ end -- @return #boolean Returns `true` if given cohort can meet all requirements. function LEGION._CohortCan(Cohort, MissionType, Categories, Attributes, Properties, WeaponTypes, TargetVec2, RangeMax, RefuelSystem, CargoWeight, MaxWeight, RangeMin) - RangeMin = RangeMin or 0 + RangeMin = RangeMin or -1 --- Function to check category. local function CheckCategory(_cohort) diff --git a/Moose Development/Moose/Sound/SRS.lua b/Moose Development/Moose/Sound/SRS.lua index 3a24f4614..11993dc23 100644 --- a/Moose Development/Moose/Sound/SRS.lua +++ b/Moose Development/Moose/Sound/SRS.lua @@ -160,7 +160,7 @@ -- For more information on setting up a cloud account, visit: https://cloud.google.com/text-to-speech -- Google's supported SSML reference: https://cloud.google.com/text-to-speech/docs/ssml -- --- ### Amazon Web Service [Only DCS-gRPC backend] +-- ### Amazon Web Service [Only HOUDN and DCS-gRPC backend] -- -- In order to use Amazon Web Service (AWS) for TTS you need to use @{#MSRS.SetProvider} and @{#MSRS.SetProviderOptionsAmazon} functions: -- @@ -171,7 +171,7 @@ -- -- You can set the voice to use with AWS via @{#MSRS.SetVoiceAmazon}. -- --- ### Microsoft Azure [Only DCS-gRPC backend] +-- ### Microsoft Azure [Only HOUND and DCS-gRPC backend] -- -- In order to use Microsoft Azure for TTS you need to use @{#MSRS.SetProvider} and @{#MSRS.SetProviderOptionsAzure} functions: --