This commit is contained in:
FlightControl
2019-03-20 18:03:24 +01:00
parent 3f8468dcc7
commit 985282ba55
2 changed files with 7 additions and 1 deletions

View File

@@ -2107,8 +2107,11 @@ do -- Players
local PlayerNames = {}
self:F({Group = self:GetName()})
local Units = self:GetUnits()
for UnitID, UnitData in pairs( Units ) do
self:F({UnitData:GetName()})
local Unit = UnitData -- Wrapper.Unit#UNIT
local PlayerName = Unit:GetPlayerName()
if PlayerName and PlayerName ~= "" then