promotional bannermobile promotional banner

ArenaLeaveConfirmer

Skips arena leave confirmation dialog

ArenaLeaveConfirmer skips the confirmation popup which would normally appear when leaving arena, effectively reverting the change Blizzard made for patch 5.1.  It also skips the confirmation popup for surrendering.  Its entire code is the following:

local function ArenaLeaveConfirm(self)
    if IsActiveBattlefieldArena() or GetBattlefieldWinner() then
        self.button1:Click()
    end
end

hooksecurefunc(StaticPopupDialogs["CONFIRM_LEAVE_BATTLEFIELD"],"OnShow",ArenaLeaveConfirm)

hooksecurefunc(StaticPopupDialogs["CONFIRM_SURRENDER_ARENA"],"OnShow",ArenaLeaveConfirm)

The ArenaLeaveConfirmer Team

Forgeborn tier frameprofile avatar
  • 4
    Followers
  • 14
    Projects
  • 381.9K
    Downloads

More from BujuArenaView all