Update FlightGroup.lua

This commit is contained in:
Frank
2020-01-08 00:33:07 +01:00
parent 9dad6fb9b9
commit 0550ed1566
+1 -1
View File
@@ -1471,7 +1471,7 @@ end
function FLIGHTGROUP:onafterPassingWaypoint(From, Event, To, n, N)
local text=string.format("Flight %s passed waypoint %d/%d", self.groupname, n, N)
self:T(self.sid..text)
MESSAGE:New(text, 30, "DEBUG"):ToAll()
MESSAGE:New(text, 30, "DEBUG"):ToAllIf(self.Debug)
if self.destination and n>1 and n==N-1 then