From 57f34f934c8d216b9d92017f431927b4f23f3acd Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Sun, 16 Oct 2022 12:05:38 +0200 Subject: [PATCH] short if --- Moose Development/Moose/Ops/PlayerRecce.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Moose Development/Moose/Ops/PlayerRecce.lua b/Moose Development/Moose/Ops/PlayerRecce.lua index e3be80a18..1278a0a06 100644 --- a/Moose Development/Moose/Ops/PlayerRecce.lua +++ b/Moose Development/Moose/Ops/PlayerRecce.lua @@ -290,7 +290,7 @@ function PLAYERRECCE:_EventHandler(EventData) if self.ViewZoneVisual[EventData.IniPlayerName] then self.ViewZoneVisual[EventData.IniPlayerName]:UndrawZone() end end elseif EventData.id == EVENTS.PlayerEnterAircraft and EventData.IniCoalition == self.Coalition then - if EventData.IniPlayerName and EventData.IniGroup and self.UseSRS then + if EventData.IniPlayerName then self:T(self.lid.."Event for player: "..EventData.IniPlayerName) self.UnitLaserCodes[EventData.IniPlayerName] = 1688 self.ClientMenus[EventData.IniPlayerName] = nil