This commit is contained in:
FlightControl
2016-06-23 14:46:51 +02:00
parent 8d12cc2a4d
commit 9dcfe83ed8
40 changed files with 7702 additions and 6132 deletions

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