From 018af1d6c0d07ef1dd312a31649ce6d065f698b1 Mon Sep 17 00:00:00 2001 From: dvipid Date: Sat, 29 Jun 2019 22:28:41 -0400 Subject: [PATCH] Updates for patch 8.2.0. Fixes "Destroy Bar" caused by an invalid sound file. --- ButtonForge/Bar.lua | 2 +- ButtonForge/ButtonForge.toc | 4 ++-- ButtonForge/UILibDragIcon.lua | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ButtonForge/Bar.lua b/ButtonForge/Bar.lua index 8de8371..3fbae7a 100644 --- a/ButtonForge/Bar.lua +++ b/ButtonForge/Bar.lua @@ -1105,7 +1105,7 @@ end --]] function Bar:DestroyBar() if (not InCombatLockdown()) then - PlaySoundFile("Sound\\Spells\\Meltoretarget.Wav"); + PlaySoundFile(569366); --sound/spells/meltoretarget.ogg Util.DeallocateBar(self); end UILib.ToggleDestroyBarMode(true); diff --git a/ButtonForge/ButtonForge.toc b/ButtonForge/ButtonForge.toc index aad1ed0..3048d98 100644 --- a/ButtonForge/ButtonForge.toc +++ b/ButtonForge/ButtonForge.toc @@ -1,7 +1,7 @@ -## Interface: 80000 +## Interface: 80200 ## Title: Button Forge ## Notes: Add as many or few extra Action Bars and Buttons to your user interface to complement the standard (or other) Action Bars -## Version: 0.9.50 +## Version: 0.9.50.1 ## Author: Massiner of Nathrezim ## SavedVariables: ButtonForgeGlobalSettings, ButtonForgeGlobalProfiles, ButtonForgeGlobalBackup ## SavedVariablesPerCharacter: ButtonForgeSave, BFSave diff --git a/ButtonForge/UILibDragIcon.lua b/ButtonForge/UILibDragIcon.lua index f13283f..d8adcc0 100644 --- a/ButtonForge/UILibDragIcon.lua +++ b/ButtonForge/UILibDragIcon.lua @@ -35,7 +35,7 @@ function UILib.StartDraggingIcon(Icon, Width, Height, Command, Data, Subvalue, T DragIcon.CustomCommand = Command; DragIcon.CustomData = Data; DragIcon.CustomSubvalue = Subvalue; - PlaySoundFile("Sound\\Interface\\Uspelliconpickup.Wav"); + PlaySoundFile(567489); --sound/interface/uspelliconpickup.ogg Util.CursorAction = true; MiscFrame:OnEvent("ACTIONBAR_SHOWGRID"); --to cause the updates we want to happen @@ -51,7 +51,7 @@ function UILib.StopDraggingIcon() DragIcon.CustomCommand = nil; DragIcon.CustomData = nil; DragIcon.CustomSubvalue = nil; - PlaySoundFile("Sound\\Interface\\Uspellicondrop.Wav"); + PlaySoundFile(567524); --sound/interface/uspellicondrop.ogg SetCursor(nil); DragIcon:UnregisterEvent("CURSOR_UPDATE"); Util.CursorAction = false;