mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
pseudoATC
- Fixed bug for ReportBR.
This commit is contained in:
@@ -98,7 +98,7 @@ PSEUDOATC.id="PseudoATC | "
|
|||||||
|
|
||||||
--- PSEUDOATC version.
|
--- PSEUDOATC version.
|
||||||
-- @field #number version
|
-- @field #number version
|
||||||
PSEUDOATC.version="0.9.1"
|
PSEUDOATC.version="0.9.2"
|
||||||
|
|
||||||
-----------------------------------------------------------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -807,8 +807,9 @@ function PSEUDOATC:ReportBR(GID, UID, position, location)
|
|||||||
-- Message text.
|
-- Message text.
|
||||||
local text=string.format("%s: Bearing %s, Range %s.", location, Bs, Rs)
|
local text=string.format("%s: Bearing %s, Range %s.", location, Bs, Rs)
|
||||||
|
|
||||||
-- Send message to player group.
|
-- Send message
|
||||||
MESSAGE:New(text, self.mdur):ToGroup(self.player[id].group)
|
self:_DisplayMessageToGroup(self.group[GID].player[UID].unit, text, self.mdur, true)
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Report altitude above ground level of player unit.
|
--- Report altitude above ground level of player unit.
|
||||||
|
|||||||
Reference in New Issue
Block a user