Skip to content

Commit 13fe104

Browse files
committed
Trying to recover, put the callback in the frame back.
1 parent 2cd9d3e commit 13fe104

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

BattleAdvisor.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function StartFrames()
5151
BA_MainFrame:SetHeight("140")
5252
BA_MainFrame:SetStatusText("AceGUI-3.0 Example Container Frame")
5353
-- When the frame is closed
54-
-- BA_MainFrame:SetCallback("OnClose", function(widget) AceGUI:Release(widget) end)
54+
BA_MainFrame:SetCallback("OnClose", function(widget) AceGUI:Release(widget) end)
5555
BA_MainFrame:SetLayout("Flow")
5656
print "-- Battle Advisor Main Frame Created!"
5757

Battlegrounds.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
-- available, or the maximum numbers of people in the battleground.
44
function loadBattlegrounds()
55

6+
print("Battlegrounds loaded!");
67

78
-- Alterac Valley
89
AV = {
@@ -236,7 +237,6 @@ function loadBattlegrounds()
236237
battlegrounds = { ["AV"] = AV, ["WSG"] = WSG, ["AB"] = AB, ["IoC"] = IoC, ["WG"] = WG,
237238
["BoG"] = BoG, ["TP"] = TP, ["EotS"] = EotS, ["TB"] = TB};
238239

239-
print("Battlegrounds loaded!");
240240
end
241241

242242
-- Get a Battleground object table from a battleground name

0 commit comments

Comments
 (0)