Beacon - added deactivate Link4

This commit is contained in:
Applevangelist
2022-07-19 08:29:43 +02:00
parent 4ae586ebaa
commit eef8b362d2
2 changed files with 23 additions and 4 deletions

View File

@@ -265,12 +265,13 @@ function BEACON:ActivateLink4(Frequency, Morse, Duration)
-- Stop sheduler
if Duration then -- Schedule the stop of the BEACON if asked by the MD
self.Positionable:DeactivateBeacon(Duration)
self.Positionable:DeactivateLink4(Duration)
end
return self
end
--- DEPRECATED: Please use @{BEACON:ActivateTACAN}() instead.
-- Activates a TACAN BEACON on an Aircraft.
-- @param #BEACON self