Skip to content

Commit

Permalink
release for the new patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Mar 23, 2023
1 parent 0ce7e24 commit e87e89d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ do

local Loc = _G.LibStub("AceLocale-3.0"):GetLocale("Details")

--change logs
--[=[
--]=]

local news = {
{"v10.0.5.10661.147", "Mar 1st, 2023"},
"Major fixes and updates on the Event Tracker feature (for streamers).",
Expand Down
5 changes: 4 additions & 1 deletion classes/class_instance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ local instanceMixins = {
---@param segmentId segmentid
---@param bForceChange boolean|nil
SetSegment = function(instance, segmentId, bForceChange)
if true then return end
local currentSegment = instance:GetSegmentId()
if (segmentId ~= currentSegment or bForceChange) then
--check if the instance is frozen
Expand Down Expand Up @@ -324,6 +325,8 @@ local instanceMixins = {
---@param subAttributeId attributeid
---@param modeId modeid
SetDisplay = function(instance, segmentId, attributeId, subAttributeId, modeId)
if true then return end

--change the mode of the window if the mode is different
---@type modeid
local currentModeId = instance:GetMode()
Expand Down Expand Up @@ -369,7 +372,7 @@ local instanceMixins = {
end
end

if (subAttributeId ~= currentSubAttributeId or bHasMainAttributeChanged) then
if (type(subAttributeId) == "number" and subAttributeId ~= currentSubAttributeId or bHasMainAttributeChanged) then
instance.sub_atributo = subAttributeId
instance.sub_atributo_last[instance.atributo] = instance.sub_atributo
instance:ChangeIcon()
Expand Down

0 comments on commit e87e89d

Please sign in to comment.