Fixed
This commit is contained in:
FlightControl 2016-06-24 05:46:21 +02:00
parent 7b8ef52ae0
commit e014cfce51

View File

@ -239,7 +239,7 @@ function DATABASE:AddPlayer( UnitName, PlayerName )
if PlayerName then
self:E( { "Add player for unit:", UnitName, PlayerName } )
self.PLAYERS[PlayerName] = UNIT:FindByName( UnitName )
self.PLAYERS[PlayerName] = self:FindUnit( UnitName )
self.PLAYERSJOINED[PlayerName] = PlayerName
end
end