mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Code formatting, spelling and documentation fixes. (#1661)
* Update Point.lua Minor code formatting fix. * Update Airboss.lua Minor code formatting and documentation fixes. * Update Set.lua Code formatting, spelling and documentation fixes. * Update ATIS.lua Code formatting, spelling and documentation fixes. * Update Task_A2A_Dispatcher.lua Minor code formatting and documentation fixes. Added TODO re. possible unused variables.
This commit is contained in:
@@ -82,7 +82,7 @@ do -- TASK_A2A_DISPATCHER
|
||||
-- to pick up enemy aircraft as they approach so that CAP and GCI flights can be tasked to intercept them.
|
||||
--
|
||||
-- 
|
||||
--
|
||||
--
|
||||
-- Additionally in a hot war situation where the border is no longer respected the placement of radars has a big effect on how fast the war escalates.
|
||||
-- For example if they are a long way forward and can detect enemy planes on the ground and taking off
|
||||
-- they will start to vector CAP and GCI flights to attack them straight away which will immediately draw a response from the other coalition.
|
||||
@@ -182,7 +182,7 @@ do -- TASK_A2A_DISPATCHER
|
||||
Mission = nil,
|
||||
Detection = nil,
|
||||
Tasks = {},
|
||||
SweepZones = {}
|
||||
SweepZones = {},
|
||||
}
|
||||
|
||||
--- TASK_A2A_DISPATCHER constructor.
|
||||
@@ -292,7 +292,7 @@ do -- TASK_A2A_DISPATCHER
|
||||
self:F( { DetectedItem.ItemID } )
|
||||
|
||||
local DetectedSet = DetectedItem.Set
|
||||
local DetectedZone = DetectedItem.Zone
|
||||
local DetectedZone = DetectedItem.Zone -- TODO: This seems unused, remove?
|
||||
|
||||
if DetectedItem.IsDetected == false then
|
||||
|
||||
@@ -316,7 +316,7 @@ do -- TASK_A2A_DISPATCHER
|
||||
self:F( { DetectedItem.ItemID } )
|
||||
|
||||
local DetectedSet = DetectedItem.Set
|
||||
local DetectedZone = DetectedItem.Zone
|
||||
local DetectedZone = DetectedItem.Zone -- TODO: This seems unused, remove?
|
||||
|
||||
local PlayersCount, PlayersReport = self:GetPlayerFriendliesNearBy( DetectedItem )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user