From 565237b29e256c99df8f854d54197169e0fa5e31 Mon Sep 17 00:00:00 2001 From: FlightControl Date: Thu, 29 Jun 2017 15:00:12 +0200 Subject: [PATCH] Static --- Moose Mission Setup/Moose.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Moose Mission Setup/Moose.lua b/Moose Mission Setup/Moose.lua index 188ae96ad..44429e66b 100644 --- a/Moose Mission Setup/Moose.lua +++ b/Moose Mission Setup/Moose.lua @@ -1,5 +1,5 @@ env.info( '*** MOOSE STATIC INCLUDE START *** ' ) -env.info( 'Moose Generation Timestamp: 20170629_1352' ) +env.info( 'Moose Generation Timestamp: 20170629_1459' ) --- Various routines -- @module routines @@ -5005,7 +5005,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