@jtff/miztemplate-lib 3.8.0 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lua/src/120-tankers.lua +3 -3
- package/package.json +1 -1
package/lua/src/120-tankers.lua
CHANGED
|
@@ -448,7 +448,7 @@ function triggerOnDemandTanker(type, askedDuration, askedFL, askedSpeed, askedAn
|
|
|
448
448
|
TankerGroup:HandleEvent(EVENTS.Dead)
|
|
449
449
|
function TankerGroup:OnEventLand(EventData)
|
|
450
450
|
COORDINATE:RemoveMark(map_marker[self:GetName()])
|
|
451
|
-
if self.
|
|
451
|
+
if self.customconfig.escortgroupname then
|
|
452
452
|
jtff_log.info('RTB: '..self.GroupName..'...',"TANKER")
|
|
453
453
|
if self.escortGroupObject:IsAirborne(false) == true then
|
|
454
454
|
jtff_log.info('escort RTB : '.. self.escortGroupObject.GroupName..' Tanker : '..self.GroupName..'...',"TANKER")
|
|
@@ -460,7 +460,7 @@ function triggerOnDemandTanker(type, askedDuration, askedFL, askedSpeed, askedAn
|
|
|
460
460
|
end
|
|
461
461
|
function TankerGroup:OnEventCrash(EventData)
|
|
462
462
|
COORDINATE:RemoveMark(map_marker[self:GetName()])
|
|
463
|
-
if self.
|
|
463
|
+
if self.customconfig.escortgroupname then
|
|
464
464
|
jtff_log.info('RTB: '..self.GroupName..'...',"TANKER")
|
|
465
465
|
if self.escortGroupObject:IsAirborne(false) == true then
|
|
466
466
|
jtff_log.info('escort RTB : '.. self.escortGroupObject.GroupName..' Tanker : '..self.GroupName..'...',"TANKER")
|
|
@@ -472,7 +472,7 @@ function triggerOnDemandTanker(type, askedDuration, askedFL, askedSpeed, askedAn
|
|
|
472
472
|
end
|
|
473
473
|
function TankerGroup:OnEventDead(EventData)
|
|
474
474
|
COORDINATE:RemoveMark(map_marker[self:GetName()])
|
|
475
|
-
if self.
|
|
475
|
+
if self.customconfig.escortgroupname then
|
|
476
476
|
jtff_log.info('RTB: '..self.GroupName..'...',"TANKER")
|
|
477
477
|
if self.escortGroupObject:IsAirborne(false) == true then
|
|
478
478
|
jtff_log.info('escort RTB : '.. self.escortGroupObject.GroupName..' Tanker : '..self.GroupName..'...',"TANKER")
|