Fix incorrect config key for quest frame texture alpha

This commit is contained in:
Roman Jaroš 2025-03-06 09:51:08 +01:00
parent 35e71cfa49
commit 43fc252902

View file

@ -45,7 +45,7 @@ function CzechQuestsAddon:InitializeTranslations()
if CzechQuestsAddon_Store.config.TRANSLATION_QUEST_FRAME_TEXTURE_ALPHA_ONLY_MOVING then
if event == "PLAYER_STARTED_MOVING" then
CzechQuestsAddon.translationQuestFrame.texture:SetAlpha(
CzechQuestsAddon_Store.config.TRANSLATION_FRAME_TEXTURE_ALPHA / 100
CzechQuestsAddon_Store.config.TRANSLATION_QUEST_FRAME_TEXTURE_ALPHA / 100
)
elseif event == "PLAYER_STOPPED_MOVING" then
CzechQuestsAddon.translationQuestFrame.texture:SetAlpha(1)