mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Trace every event. Some stuff is fishy on MP
This commit is contained in:
parent
90f614a5c0
commit
c5587304f7
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user