Trying to get the dependency on EVENTs solved.

This commit is contained in:
FlightControl
2017-03-17 18:33:08 +01:00
parent 3f0c983194
commit 9f2179a428
24 changed files with 43 additions and 40 deletions

View File

@@ -425,7 +425,7 @@ function EVENT:Init( EventID, EventClass )
-- Each event has a subtable of EventClasses, ordered by EventPriority.
local EventPriority = EventClass:GetEventPriority()
if not self.Events[EventID][EventPriority] then
self.Events[EventID][EventPriority] = setmetatable( {}, { __mode = "k" } )
self.Events[EventID][EventPriority] = setmetatable( {}, { __mode = "kv" } )
end
if not self.Events[EventID][EventPriority][EventClass] then