1
0
Bifurcation 0

Updates for patch 8.2.0.

Fixes "Destroy Bar" caused by an invalid sound file.
Cette révision appartient à :
dvipid 2019-06-29 22:28:41 -04:00
Parent 9ece55c266
révision 018af1d6c0
3 fichiers modifiés avec 5 ajouts et 5 suppressions

Voir le fichier

@ -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);

Voir le fichier

@ -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

Voir le fichier

@ -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;