Fixed a group not existing when building the _DATABASE

This commit is contained in:
FlightControl
2016-05-20 16:29:57 +02:00
parent c50f98b8dd
commit 498505b7b8
3 changed files with 64 additions and 52 deletions

View File

@@ -187,7 +187,7 @@ function CLIENT:GetDCSGroup()
-- else
-- return nil
-- end
local ClientUnit = Unit.getByName( self.ClientName )
local CoalitionsData = { AlivePlayersRed = coalition.getPlayers( coalition.side.RED ), AlivePlayersBlue = coalition.getPlayers( coalition.side.BLUE ) }
@@ -223,6 +223,8 @@ function CLIENT:GetDCSGroup()
-- else
-- error( "Client " .. self.ClientName .. " not found!" )
end
else
--self:E( { "Client not found!", self.ClientName } )
end
end
end