Fix self.speedmax for immobile groups

This commit is contained in:
Applevangelist 2024-03-16 12:37:11 +01:00
parent b10819220c
commit 3389d3284a
3 changed files with 3 additions and 0 deletions

View File

@ -2073,6 +2073,7 @@ function ARMYGROUP:_InitGroup(Template)
self.isMobile=true
else
self.isMobile=false
self.speedMax = 0
end
-- Cruise speed in km/h

View File

@ -3803,6 +3803,7 @@ function FLIGHTGROUP:_InitGroup(Template)
self.isMobile=true
else
self.isMobile=false
self.speedMax = 0
end
-- Cruise speed limit 380 kts for fixed and 110 knots for rotary wings.

View File

@ -1804,6 +1804,7 @@ function NAVYGROUP:_InitGroup(Template)
self.isMobile=true
else
self.isMobile=false
self.speedMax = 0
end
-- Cruise speed: 70% of max speed.