Fixed error with EventMeta

This commit is contained in:
FlightControl 2017-04-11 07:02:01 +02:00
parent c8cf0e2cc5
commit 321a33f0f6

View File

@ -806,6 +806,7 @@ function EVENT:onEvent( Event )
--Event.WeaponTgtDCSUnit = Event.Weapon:getTarget()
end
local PriorityOrder = EventMeta.Order
local PriorityBegin = PriorityOrder == -1 and 5 or 1
local PriorityEnd = PriorityOrder == -1 and 1 or 5