mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Develop (#1874)
* #FG * make us AB the default * OPS **CHIEF** - Fixed bugs of polygon opszones - Added option to use CAPTUREZONE auftrag for opszones **OPSZONE** - Fixed bug when marker off **ZONE_POLYGON_BASE** - Added `GetRadius()` function **LEGION** - Improved Reinforcement * AWACS -correct error in SetAwacsDetails (#1873) Corrected setting of Angels Co-authored-by: Frank <frank@inter-zone.de>
This commit is contained in:
@@ -1840,10 +1840,10 @@ function AWACS:SetAwacsDetails(CallSign,CallSignNo,Angels,Speed,Heading,Leg)
|
||||
self:T(self.lid.."SetAwacsDetails")
|
||||
self.CallSign = CallSign or CALLSIGN.AWACS.Magic
|
||||
self.CallSignNo = CallSignNo or 1
|
||||
self.Angels = Angels or 25
|
||||
self.AwacsAngels = Angels or 25
|
||||
local speed = Speed or 250
|
||||
self.SpeedBase = speed
|
||||
self.Speed = UTILS.KnotsToAltKIAS(speed,self.Angels*1000)
|
||||
self.Speed = UTILS.KnotsToAltKIAS(speed,self.AwacsAngels*1000)
|
||||
self.Heading = Heading or 0
|
||||
self.Leg = Leg or 25
|
||||
return self
|
||||
|
||||
Reference in New Issue
Block a user