This commit is contained in:
FlightControl
2017-03-17 18:46:00 +01:00
parent 9f2179a428
commit ce00cbf83e
4 changed files with 3 additions and 3 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 = "kv" } )
self.Events[EventID][EventPriority] = setmetatable( {}, { __mode = "k" } )
end
if not self.Events[EventID][EventPriority][EventClass] then