mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-24 03:55:27 +00:00
MSRS_BACKEND_DCSGRPC bug fix (#1916)
* Add another DCS-gRPC example for MSRS docu (ATIS) * Fixes MSRS_BACKEND_DCSGRPC bad _GetLatLongAlt call
This commit is contained in:
@@ -1255,7 +1255,7 @@ MSRS_BACKEND_DCSGRPC.Functions._DCSgRPCtts = function (self, Text, Plaintext, Fr
|
|||||||
options.srsClientName = Label or self.Label
|
options.srsClientName = Label or self.Label
|
||||||
options.position = {}
|
options.position = {}
|
||||||
if self.coordinate then
|
if self.coordinate then
|
||||||
options.position.lat, options.position.lat, options.position.alt = self._GetLatLongAlt(self.coordinate)
|
options.position.lat, options.position.lat, options.position.alt = self:_GetLatLongAlt(self.coordinate)
|
||||||
end
|
end
|
||||||
|
|
||||||
options.position.lat = options.position.lat or 0.0
|
options.position.lat = options.position.lat or 0.0
|
||||||
|
|||||||
Reference in New Issue
Block a user