Update CSAR.lua

Small fix
This commit is contained in:
Thomas 2024-09-07 09:01:58 +02:00 committed by GitHub
parent 865042a843
commit 07009630c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2374,7 +2374,7 @@ function CSAR:onafterStart(From, Event, To)
self:HandleEvent(EVENTS.PilotDead, self._EventHandler)
if self.UserSetGroup then
self.PilotGroups = self.UserSetGroup
self.allheligroupset = self.UserSetGroup
elseif self.allowbronco then
local prefixes = self.csarPrefix or {}
self.allheligroupset = SET_GROUP:New():FilterCoalitions(self.coalitiontxt):FilterPrefixes(prefixes):FilterStart()