2 Commits

Author SHA1 Message Date
sindoring 068d4782a9 обновление warcraftxl 2026-09-04 21:58:47 +04:00
sindoring 66eb505af9 fix 2026-08-30 02:55:15 +04:00
2 changed files with 22 additions and 8 deletions
@@ -598,7 +598,7 @@ function AccountLogin_OnKeyDown(key)
if ConnectionHelpFrame:IsShown() then
ConnectionHelpFrame:Hide()
AccountLoginUI:Show()
elseif SurveyNotificationFrame:IsShown() then
elseif SurveyNotificationFrame and SurveyNotificationFrame:IsShown() then
else
AccountLogin_Exit()
end
@@ -607,7 +607,7 @@ function AccountLogin_OnKeyDown(key)
return
elseif TOSFrame:IsShown() or ConnectionHelpFrame:IsShown() then
return
elseif SurveyNotificationFrame:IsShown() then
elseif SurveyNotificationFrame and SurveyNotificationFrame:IsShown() then
AccountLogin_SurveyNotificationDone(1)
end
AccountLogin_PrimaryAction()
@@ -957,6 +957,12 @@ function AccountLogin_Exit()
end
function AccountLogin_ShowSurveyNotification()
if not SurveyNotificationFrame or
not SurveyNotificationAccept or
not SurveyNotificationDecline then
return
end
GlueDialog:Hide()
AccountLoginUI:Hide()
SurveyNotificationAccept:Enable()
@@ -965,11 +971,19 @@ function AccountLogin_ShowSurveyNotification()
end
function AccountLogin_SurveyNotificationDone(accepted)
SurveyNotificationFrame:Hide()
SurveyNotificationAccept:Disable()
SurveyNotificationDecline:Disable()
SurveyNotificationDone(accepted)
AccountLoginUI:Show()
if SurveyNotificationFrame then
SurveyNotificationFrame:Hide()
end
if SurveyNotificationAccept then
SurveyNotificationAccept:Disable()
end
if SurveyNotificationDecline then
SurveyNotificationDecline:Disable()
end
if type(SurveyNotificationDone) == "function" then
SurveyNotificationDone(accepted)
end
ApplyLaunchMode()
end
function AccountLogin_ShowUserAgreements()