Commit 70917a70 authored by Ivaria's avatar Ivaria
Browse files

Fixed error speech sound playback during auto-trigger of trinkets and spells

parent b4601620
......@@ -575,7 +575,7 @@ function VUHDO_OnEvent(_, anEvent, anArg1, anArg2, anArg3, anArg4, anArg5, anArg
if VUHDO_RAID then VUHDO_readyCheckEnds(); end
elseif "CVAR_UPDATE" == anEvent then
VUHDO_IS_SFX_ENABLED = tonumber(GetCVar("Sound_EnableSFX")) == 1;
VUHDO_IS_SFX_ENABLED = tonumber(GetCVar("Sound_EnableErrorSpeech")) == 1;
if VUHDO_VARIABLES_LOADED then VUHDO_reloadUI(false); end
elseif "INSPECT_READY" == anEvent then
......
......@@ -98,7 +98,7 @@ local function VUHDO_getFireText(anAction)
if not sFireText then
sFireText = "";
if VUHDO_IS_SFX_ENABLED then
sFireText = sFireText .. "/console Sound_EnableSFX 0\n";
sFireText = sFireText .. "/console Sound_EnableErrorSpeech 0\n";
end
tModi = VUHDO_SPELL_CONFIG["IS_FIRE_OUT_FIGHT"] and " " or " [combat] ";
......@@ -122,7 +122,7 @@ local function VUHDO_getFireText(anAction)
-- Ton wieder an
if VUHDO_IS_SFX_ENABLED then
sFireText = sFireText .. "/console Sound_EnableSFX 1\n";
sFireText = sFireText .. "/console Sound_EnableErrorSpeech 1\n";
end
sFireText = sFireText .. "/run UIErrorsFrame:Clear()\n";
......@@ -439,7 +439,7 @@ function VUHDO_initKeyboardMacros()
local tKey1, tKey2;
local tBindPrefix = "VUHDO_KEY_ASSIGN_";
VUHDO_IS_SFX_ENABLED = tonumber(GetCVar("Sound_EnableSFX")) == 1;
VUHDO_IS_SFX_ENABLED = tonumber(GetCVar("Sound_EnableErrorSpeech")) == 1;
if not VUHDO_SPELLS_KEYBOARD then return; end
......
......@@ -15,6 +15,7 @@ Known issues:
Bugfixes:
-- Fixed floating point number comparison when closing/canceling VuhDo Options
-- Fixed error speech sound playback during auto-trigger of trinkets and spells
Improvements:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment