pseudoATC

- Fixed bug for ReportBR.
This commit is contained in:
Frank
2019-06-08 23:06:45 +02:00
parent bc229f1a86
commit 10bfefdd06

View File

@@ -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.