LeaderboardResizeBJ

Parameters
lb leaderboard
comment
patch

1.00

return type
nothing
Source code
function LeaderboardResizeBJ takes leaderboard lb returns nothing
    local integer size = LeaderboardGetItemCount(lb)

    if (LeaderboardGetLabelText(lb) == "") then
        set size = size - 1
    endif
    call LeaderboardSetSizeByItemCount(lb, size)
endfunction
Source
Blizzard.j
wc3modding.com
LeaderboardResizeBJ