Implement BEACON:StopAATACAN()

This commit is contained in:
Grey-Echo
2017-04-19 15:40:54 +02:00
parent 42ec0d6332
commit 3c80fdafcd
2 changed files with 8 additions and 0 deletions

View File

@@ -469,5 +469,12 @@ end
-- @return #BEACON self
function BEACON:StopAATACAN()
if not self.Positionable then
self:E({"Start the beacon first before stoping it !"})
else
self.Positionable:SetCommand({
id = 'DeactivateBeacon',
params = {
}
})
end
end