mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
#CTLD
* Small fix for BEACON Zones
This commit is contained in:
parent
53d71d9766
commit
df0c0ec21e
@ -22,7 +22,7 @@
|
|||||||
-- @module Ops.CTLD
|
-- @module Ops.CTLD
|
||||||
-- @image OPS_CTLD.jpg
|
-- @image OPS_CTLD.jpg
|
||||||
|
|
||||||
-- Last Update October 2022
|
-- Last Update December 2022
|
||||||
|
|
||||||
do
|
do
|
||||||
|
|
||||||
@ -1078,7 +1078,7 @@ CTLD.UnitTypes = {
|
|||||||
|
|
||||||
--- CTLD class version.
|
--- CTLD class version.
|
||||||
-- @field #string version
|
-- @field #string version
|
||||||
CTLD.version="1.0.19"
|
CTLD.version="1.0.20"
|
||||||
|
|
||||||
--- Instantiate a new CTLD.
|
--- Instantiate a new CTLD.
|
||||||
-- @param #CTLD self
|
-- @param #CTLD self
|
||||||
@ -3611,6 +3611,7 @@ function CTLD:CheckDroppedBeacons()
|
|||||||
|
|
||||||
for _,_beacon in pairs (self.droppedBeacons) do
|
for _,_beacon in pairs (self.droppedBeacons) do
|
||||||
local beacon = _beacon -- #CTLD.CargoZone
|
local beacon = _beacon -- #CTLD.CargoZone
|
||||||
|
if not beacon.timestamp then beacon.timestamp = timer.getTime() end
|
||||||
local T0 = beacon.timestamp
|
local T0 = beacon.timestamp
|
||||||
if timer.getTime() - T0 > timeout then
|
if timer.getTime() - T0 > timeout then
|
||||||
local name = beacon.name
|
local name = beacon.name
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user