mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Improved the event handling
-- Removed the sort -- Implemented the order in the existing table. -- 5 levels -- _DATABASE = 1 -- SET and SET_ derived classes = 2 -- UNIT = 3 -- GROUP = 4 -- all other = 5
This commit is contained in:
@@ -55,8 +55,6 @@ DATABASE = {
|
||||
CLIENTS = {},
|
||||
AIRBASES = {},
|
||||
NavPoints = {},
|
||||
EventPriority = 1, -- Used to sort the DCS event order processing (complicated). Database has highest priority.
|
||||
|
||||
}
|
||||
|
||||
local _DATABASECoalition =
|
||||
@@ -102,6 +100,8 @@ function DATABASE:New()
|
||||
self:_RegisterPlayers()
|
||||
self:_RegisterAirbases()
|
||||
|
||||
self:SetEventPriority( 1 )
|
||||
|
||||
return self
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user