WoWInterface SVN Aloft

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches/cataclysm/Aloft/AloftRaceData
    from Rev 1894 to Rev 1922
    Reverse comparison

Rev 1894 → Rev 1922

AloftRaceData.lua
229,7 → 229,7
-- TODO: unify this into a single event somehow
function AloftRaceData:UpdateRaceFromBattlefield(event)
for i = 1, GetNumBattlefieldScores() do
local name, _, _, _, _, _, _, race, _, _, _, _ = GetBattlefieldScore(i)
local name, killingBlows, honorableKills, deaths, honorGained, faction, race, class, classToken, damageDone, healingDone, bgRating, ratingChange = GetBattlefieldScore(i)
if name and race then -- it seems that name can, on rare occasions, be nil; perhaps a race condition with zoning in/out?
name = ("-"):split(name, 2)
if name ~= L["Unknown"] then