mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +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:
@@ -97,6 +97,8 @@ UNIT = {
|
||||
function UNIT:Register( UnitName )
|
||||
local self = BASE:Inherit( self, CONTROLLABLE:New( UnitName ) )
|
||||
self.UnitName = UnitName
|
||||
|
||||
self:SetEventPriority( 3 )
|
||||
return self
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user