Skip to content

Commit

Permalink
default branch for ScreenSelectStyle requires more than 1 style
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Jun 13, 2024
1 parent 5787b3c commit f9599c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Themes/_fallback/Scripts/02 Branches.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Branch = {
return "ScreenProfileLoad"
end,
AfterSelectProfile = function()
if (THEME:GetMetric("Common", "AutoSetStyle") == true) then
if (THEME:GetMetric("Common", "AutoSetStyle") == true) or #GAMEMAN:GetStylesForGame(GAMESTATE:GetCurrentGame():GetName()) <= 1 then
return "ScreenSelectMusic"
else
return "ScreenSelectStyle"
Expand Down

0 comments on commit f9599c6

Please sign in to comment.