This commit is contained in:
Frank 2023-09-17 22:58:53 +02:00
parent 6febbbc8e6
commit f32c303c0a
2 changed files with 3 additions and 3 deletions

View File

@ -406,7 +406,7 @@ function PATHLINE:Draw(Switch, Coalition, Color, LineType)
Coalition=Coalition or -1
Color=Color or {0, 1, 0, 0.5}
LineType=LineType or -1
LineType=LineType or 1
if Switch==false then
@ -430,7 +430,7 @@ function PATHLINE:Draw(Switch, Coalition, Color, LineType)
UTILS.RemoveMark(p2.lineID)
end
p2.lineID=UTILS.GetMarkID()
p2.lineID=UTILS.GetMarkID()
trigger.action.lineToAll(Coalition, p2.lineID, p1.vec3, p2.vec3, Color, LineType)

View File

@ -4183,7 +4183,7 @@ function FLIGHTCONTROL:_CheckFlights()
if taxipath then
local text=string.format("Flight %s [%s/%s]: Unit %s close to taxiway %s. Dist=%.1f meters, Segment=%s-%s", flight:GetName(), flight:GetState(), self:GetFlightStatus(flight),
element.name, taxipath:GetName(), dist, seg.p1.name, seg.p2.name)
MESSAGE:New(text,10):ToAll():ToLog()
MESSAGE:New(text,10):ToLog()
end
end