From 91cc18b467fdf679005c469f2611b32603acbb8b Mon Sep 17 00:00:00 2001 From: FlightControl Date: Tue, 21 Mar 2017 10:27:43 +0100 Subject: [PATCH] MP test --- Moose Development/Moose/Core/Event.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Moose Development/Moose/Core/Event.lua b/Moose Development/Moose/Core/Event.lua index 9e304ffcd..8f9a926b7 100644 --- a/Moose Development/Moose/Core/Event.lua +++ b/Moose Development/Moose/Core/Event.lua @@ -954,7 +954,7 @@ function EVENT:onEvent( Event ) -- If the EventData is not bound to a specific unit, then call the EventClass EventFunction. -- Note that here the EventFunction will need to implement and determine the logic for the relevant source- or target unit, or weapon. - if Event.IniDCSUnit and not EventData.EventUnit then + if (Event.IniDCSUnit or Event.WeaponUNIT) and not EventData.EventUnit then if EventClass == EventData.EventClass then