Merge remote-tracking branch 'refs/remotes/origin/master' into release-2-2-pre

This commit is contained in:
FlightControl 2017-06-29 14:59:32 +02:00
commit 78085d3de2

View File

@ -743,7 +743,10 @@ function EVENT:onEvent( Event )
local EventMeta = _EVENTMETA[Event.id]
if self and self.Events and self.Events[Event.id] then
if self and
self.Events and
self.Events[Event.id] and
( Event.initiator ~= nil or ( Event.initiator == nil and Event.id ~= EVENTS.PlayerLeaveUnit ) ) then
if Event.initiator then