This commit is contained in:
svenvandevelde 2016-02-27 07:54:45 +01:00
parent b3a68636f8
commit a0c043a465

View File

@ -698,7 +698,7 @@ function DATABASE:ScoreAdd( PlayerName, ScoreType, ScoreTimes, ScoreAmount, Play
local PlayerUnit = Unit.getByName( PlayerUnitName ) local PlayerUnit = Unit.getByName( PlayerUnitName )
if PlayerUnit then if PlayerUnit then
if not PlayerUnitCategory then if not PlayerUnitCategory then
PlayerUnitCategory = DATABASECategory[PlayerUnit:getCategory()] PlayerUnitCategory = DATABASECategory[PlayerUnit:getCategory()]
end end