**INTEL**
- Added nil check for cluster position update

**OPSGROUP**
- Improved fire at point task to take only max avail shots and relative shot amount
- Fixed tasks not executed after teleport
This commit is contained in:
Frank
2022-05-03 09:41:22 +02:00
committed by GitHub
parent 68dce2f247
commit d2d431ce2e
7 changed files with 341 additions and 164 deletions

View File

@@ -3097,6 +3097,13 @@ function FLIGHTGROUP:_InitGroup(Template)
-- Max speed in km/h.
self.speedMax=group:GetSpeedMax()
-- Is group mobile?
if self.speedMax>3.6 then
self.isMobile=true
else
self.isMobile=false
end
-- Cruise speed limit 350 kts for fixed and 80 knots for rotary wings.
local speedCruiseLimit=self.isHelo and UTILS.KnotsToKmph(80) or UTILS.KnotsToKmph(350)