Stanzilla / WoWUIBugs

World of Warcraft UI Bug Tracker
153 stars 7 forks source link

[TWW] Both zh client broke because localization error when start. #577

Closed EKE00372 closed 3 weeks ago

EKE00372 commented 1 month ago

Blizzard_FriendsFrame/Mainline/Localization.lua:13: attempt to index global 'WhoFrameDropDown' (a nil value)

Happened on 11.0.0.54935 just update.

It borke both zhTW and zhCN client when start, make client stop with black screen.

local function LocalizeFriendsFrame_zh()
    ADDFRIENDFRAME_WOWHEIGHT = 232;
    ADDFRIENDFRAME_BNETHEIGHT = 310;
    AddFriendNameEditBox:SetPoint("TOP", 0, -144);

    for i=1, (FriendsFrame.numTabs or 0) do
        tabName = "FriendsFrameTab"..i;
        _G[tabName].Text:SetPoint("CENTER", tabName, "CENTER", 0, 5);
    end

    WhoFrameDropDown:SetPoint("TOPLEFT", WhoFrameColumnHeader2, "TOPLEFT", -15, 1);
end
Meorawr commented 1 month ago

This has already been fixed in an internal build; will keep it open and close it when it lands.

Meorawr commented 3 weeks ago

Fixed in 11.0.0.50000; also shouldn't entirely brick the UI going forward.