diff --git a/boot.lua b/boot.lua index 3a6c6f85..b1d0ddac 100644 --- a/boot.lua +++ b/boot.lua @@ -18,7 +18,7 @@ _detalhes.BFACORE = 131 --core version on BFA launch _detalhes.SHADOWLANDSCORE = 143 --core version on Shadowlands launch - _detalhes.dragonflight_beta_version = 19 + _detalhes.dragonflight_beta_version = 20 Details = _detalhes diff --git a/frames/window_custom.lua b/frames/window_custom.lua index f1c404a8..0cf41d11 100644 --- a/frames/window_custom.lua +++ b/frames/window_custom.lua @@ -229,7 +229,7 @@ end) --> background - f.bg1 = f:CreateTexture (nil, "background","BackdropTemplate") + f.bg1 = f:CreateTexture (nil, "background") f.bg1:SetTexture ([[Interface\AddOns\Details\images\background]], true) f.bg1:SetAlpha (0.7) f.bg1:SetVertexColor (0.27, 0.27, 0.27) diff --git a/functions/schedules.lua b/functions/schedules.lua index 1af7fe8c..d2e2680a 100644 --- a/functions/schedules.lua +++ b/functions/schedules.lua @@ -9,14 +9,18 @@ local unpack = _G.unpack --make a namespace for schedules Details.Schedules = {} +local errorHandler = function(str) + return str +end + --run a scheduled function with its payload local triggerScheduledTick = function(tickerObject) local payload = tickerObject.payload local callback = tickerObject.callback - local result, errortext = pcall (callback, unpack(payload)) + local result, errortext = xpcall(callback, errorHandler, unpack(payload)) if (not result) then - Details:Msg("error on scheduler: ", tickerObject.path, tickerObject.name, errortext) + Details:Msg("Error:", errortext, tickerObject.name or "") end return result end diff --git a/images/info_window_background.blp b/images/info_window_background.blp deleted file mode 100644 index 02bb7fc2..00000000 Binary files a/images/info_window_background.blp and /dev/null differ diff --git a/images/options_window.tga b/images/options_window.tga deleted file mode 100644 index 47ba3611..00000000 Binary files a/images/options_window.tga and /dev/null differ