Skip to content

Commit

Permalink
til death fix scores tab switching local/online unexpectedly
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Dec 12, 2021
1 parent ac3551b commit b587803
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ local ret = Def.ActorFrame {
self:queuecommand("Off")
end
end,
TabChangedMessageCommand = function(self)
TabChangedMessageCommand = function(self, params)
self:queuecommand("Set")
-- if tab was already visible, swap nested tabs
if self:GetVisible() and not collapsed then
if params ~= nil and params.from == 2 and params.to == 2 and self:GetVisible() and not collapsed then
if nestedTab == 1 then nestedTab = 2 else nestedTab = 1 end
local sd = self:GetParent():GetChild("StepsDisplay")
self:GetChild("Button_1"):playcommand("NestedTabChanged")
Expand Down

0 comments on commit b587803

Please sign in to comment.