From 0806d822fff4cfa16045b97756d0659173cccbfe Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Thu, 26 Mar 2026 11:08:05 +0100 Subject: [PATCH] xx --- Moose Development/Moose/Ops/Intelligence.lua | 4 ++-- Moose Development/Moose/Sound/SRS.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Moose Development/Moose/Ops/Intelligence.lua b/Moose Development/Moose/Ops/Intelligence.lua index 5f39887ca..6392932d6 100644 --- a/Moose Development/Moose/Ops/Intelligence.lua +++ b/Moose Development/Moose/Ops/Intelligence.lua @@ -116,7 +116,7 @@ INTEL = { DopplerNotchSin = math.sin(math.rad(15)), DopplerMinSpeedMps = 50, DopplerRCS = true, - RangeM = 200 * 1000, + DopplerRadarRangeM = 200 * 1000, } --- Detected item info. @@ -2759,7 +2759,7 @@ function INTEL:_CheckDopplerDetection(TargetUnit, RadarUnit) -- Effective detection range = DopplerRadarRangeM × (σ_eff / σ_ref)^0.25 -- Beyond that range: target not detected (hard cutoff at 100%; soft fade -- starts at 80% of R_max to smooth the transition). - if self.DopplerRCS and slant > 1 then + if self.DopplerRCS == true and slant > 1 then local sigma = self:_GetAspectRCS(TargetUnit, rpos, spd, tvel) -- (σ/σ_ref)^0.25 — clamp to avoid log of 0 for VLO aircraft local scale = (sigma / INTEL.RCS_Reference) ^ 0.25 diff --git a/Moose Development/Moose/Sound/SRS.lua b/Moose Development/Moose/Sound/SRS.lua index bb79035be..cf54cb323 100644 --- a/Moose Development/Moose/Sound/SRS.lua +++ b/Moose Development/Moose/Sound/SRS.lua @@ -2588,7 +2588,7 @@ end -- @return #MSRSQUEUE.Transmission Radio transmission table. function MSRSQUEUE:NewTransmission(text, duration, msrs, tstart, interval, subgroups, subtitle, subduration, frequency, modulation, gender, culture, voice, volume, label,coordinate,speed,speaker,priority) self:T({Text=text, Dur=duration, start=tstart, int=interval, sub=subgroups, subt=subtitle, sudb=subduration, F=frequency, M=modulation, G=gender, C=culture, V=voice, Vol=volume, L=label, S=speed, P=priority}) - self:I({provider=msrs.provider}) + self:T({provider=msrs.provider}) if self.TransmitOnlyWithPlayers then if self.PlayerSet and self.PlayerSet:CountAlive() == 0 then return self