Fixed an issue with players with the time measurement 'real time'.
This commit is contained in:
+3
-2
@@ -412,6 +412,7 @@ detailsFramework:Mixin(ButtonMetaFunctions, detailsFramework.ScriptHookMixin)
|
||||
else
|
||||
self.icon:SetTexture(texture)
|
||||
end
|
||||
|
||||
elseif (type(texture) == "table") then
|
||||
local r, g, b, a = detailsFramework:ParseColors(texture)
|
||||
self.icon:SetColorTexture(r, g, b, a)
|
||||
@@ -1123,7 +1124,7 @@ end
|
||||
|
||||
local normalTexture = button:GetNormalTexture()
|
||||
local pushedTexture = button:GetPushedTexture()
|
||||
local highlightTexture = button:GetHightlightTexture()
|
||||
local highlightTexture = button:GetHighlightTexture()
|
||||
local disabledTexture = button:GetDisabledTexture()
|
||||
|
||||
if (type(texture) == "table") then
|
||||
@@ -1184,7 +1185,7 @@ end
|
||||
red, green, blue, alpha = detailsFramework:ParseColor(red, green, blue, alpha)
|
||||
local normalTexture = button:GetNormalTexture()
|
||||
local pushedTexture = button:GetPushedTexture()
|
||||
local highlightTexture = button:GetHightlightTexture()
|
||||
local highlightTexture = button:GetHighlightTexture()
|
||||
local disabledTexture = button:GetDisabledTexture()
|
||||
|
||||
normalTexture:SetVertexColor(red, green, blue, alpha)
|
||||
|
||||
@@ -393,7 +393,7 @@
|
||||
---@field RegisterForClicks fun(self: button, button1: nil|buttontype, button2: nil|buttontype, button3: nil|buttontype, button4: nil|buttontype)
|
||||
---@field GetNormalTexture fun(self: button) : texture
|
||||
---@field GetPushedTexture fun(self: button) : texture
|
||||
---@field GetHightlightTexture fun(self: button) : texture
|
||||
---@field GetHighlightTexture fun(self: button) : texture
|
||||
---@field GetDisabledTexture fun(self: button) : texture
|
||||
|
||||
---@class statusbar : frame
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
local addonName, Details222 = ...
|
||||
local version, build, date, tocversion = GetBuildInfo()
|
||||
|
||||
Details.build_counter = 11770
|
||||
Details.alpha_build_counter = 11770 --if this is higher than the regular counter, use it instead
|
||||
Details.build_counter = 11773
|
||||
Details.alpha_build_counter = 11773 --if this is higher than the regular counter, use it instead
|
||||
Details.dont_open_news = true
|
||||
Details.game_version = version
|
||||
Details.userversion = version .. " " .. Details.build_counter
|
||||
|
||||
@@ -581,6 +581,10 @@ function Details:StartMeUp()
|
||||
Details.boss_mods_timers.encounter_timers_dbm = Details.boss_mods_timers.encounter_timers_dbm or {}
|
||||
Details.boss_mods_timers.encounter_timers_bw = Details.boss_mods_timers.encounter_timers_bw or {}
|
||||
|
||||
if (Details.time_type == 3) then
|
||||
Details.time_type = 2
|
||||
end
|
||||
|
||||
--clear overall data on new session
|
||||
--if (Details.overall_clear_logout) then --this is suppose to be in the load data file
|
||||
-- Details.tabela_overall = Details.combate:NovaTabela()
|
||||
|
||||
Reference in New Issue
Block a user