Trace every event. Some stuff is fishy on MP

This commit is contained in:
FlightControl 2017-04-27 10:12:48 +02:00
parent 90f614a5c0
commit c5587304f7

View File

@ -748,6 +748,8 @@ function EVENT:onEvent( Event )
local EventMeta = _EVENTMETA[Event.id]
self:E( { EventMeta.Text, Event } )
if self and self.Events and self.Events[Event.id] then
@ -863,7 +865,7 @@ function EVENT:onEvent( Event )
local PriorityBegin = PriorityOrder == -1 and 5 or 1
local PriorityEnd = PriorityOrder == -1 and 1 or 5
if Event.IniObjectCategory ~= 3 then
if Event.IniObjectCategory ~= Object.Category.STATIC then
self:E( { EventMeta.Text, Event, Event.IniDCSUnitName, Event.TgtDCSUnitName, PriorityOrder } )
end