Merge branch 'master' into beacons

This commit is contained in:
Grey-Echo
2017-04-02 18:50:59 +02:00
247 changed files with 74053 additions and 74 deletions

View File

@@ -465,7 +465,7 @@ function SET_BASE:_EventOnPlayerLeaveUnit( Event )
local PlayerCount = 0
for _, DCSUnit in pairs( GroupUnits ) do
if DCSUnit ~= Event.IniDCSUnit then
if DCSUnit:getPlayer() ~= nil then
if DCSUnit:getPlayerName() ~= nil then
PlayerCount = PlayerCount + 1
end
end