Use new SetSegment over TrocaTabela for the segment selector
This commit is contained in:
parent
0677e2e874
commit
ba145bca12
2 changed files with 11 additions and 7 deletions
|
|
@ -420,6 +420,10 @@ local instanceMixins = {
|
|||
Details222.Instances.OnModeChanged(instance)
|
||||
end,
|
||||
|
||||
SetSegmentFromCooltip = function(_, instance, segmentId, bForceChange)
|
||||
return instance:SetSegment(segmentId, bForceChange)
|
||||
end,
|
||||
|
||||
---change the segment shown in the instance, this changes the segmentID and also refresh the combat object in the instance
|
||||
---@param instance instance
|
||||
---@param segmentId segmentid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue