From 027880c5d177d5b9ab8432ec9c48d94316f97a15 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sun, 2 May 2010 10:29:34 -0500 Subject: [PATCH] In dance mode, ScreenSelectProfile doesn't work; fix that. I assume this will have to happen a few more times with other gametypes. --- Themes/_fallback/BGAnimations/ScreenSelectProfile overlay.lua | 4 ++-- Themes/_fallback/metrics.ini | 4 +++- Themes/default/BGAnimations/ScreenSelectProfile overlay.lua | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Themes/_fallback/BGAnimations/ScreenSelectProfile overlay.lua b/Themes/_fallback/BGAnimations/ScreenSelectProfile overlay.lua index 03141d7451..8f850e2ddb 100644 --- a/Themes/_fallback/BGAnimations/ScreenSelectProfile overlay.lua +++ b/Themes/_fallback/BGAnimations/ScreenSelectProfile overlay.lua @@ -207,7 +207,7 @@ local t = Def.ActorFrame { SCREENMAN:GetTopScreen():Finish(); end; end; - if params.Name == 'Up' then + if params.Name == 'Up' or params.Name == 'Up2' then if GAMESTATE:IsHumanPlayer(params.PlayerNumber) then local ind = SCREENMAN:GetTopScreen():GetProfileIndex(params.PlayerNumber); if ind > 1 then @@ -218,7 +218,7 @@ local t = Def.ActorFrame { end; end; end; - if params.Name == 'Down' then + if params.Name == 'Down' or params.Name == 'Down2' then if GAMESTATE:IsHumanPlayer(params.PlayerNumber) then local ind = SCREENMAN:GetTopScreen():GetProfileIndex(params.PlayerNumber); if ind > 0 then diff --git a/Themes/_fallback/metrics.ini b/Themes/_fallback/metrics.ini index 1d1ad9592e..0bbfd95712 100644 --- a/Themes/_fallback/metrics.ini +++ b/Themes/_fallback/metrics.ini @@ -1511,9 +1511,11 @@ StartScreen=Branch.AfterSelectProfile() # TimerSeconds=40 # -CodeNames="Up,Down,Start,Back" +CodeNames=SelectProfileKeys() CodeUp="+MenuUp" +CodeUp2="+Up" CodeDown="+MenuDown" +CodeDown2="+Down" CodeStart="Start" CodeBack="Back" diff --git a/Themes/default/BGAnimations/ScreenSelectProfile overlay.lua b/Themes/default/BGAnimations/ScreenSelectProfile overlay.lua index c24eb8b3e7..df149c6cda 100644 --- a/Themes/default/BGAnimations/ScreenSelectProfile overlay.lua +++ b/Themes/default/BGAnimations/ScreenSelectProfile overlay.lua @@ -202,7 +202,7 @@ local t = Def.ActorFrame { SCREENMAN:GetTopScreen():Finish(); end; end; - if params.Name == 'Up' then + if params.Name == 'Up' or params.Name == 'Up2' then if GAMESTATE:IsHumanPlayer(params.PlayerNumber) then local ind = SCREENMAN:GetTopScreen():GetProfileIndex(params.PlayerNumber); if ind > 1 then @@ -213,7 +213,7 @@ local t = Def.ActorFrame { end; end; end; - if params.Name == 'Down' then + if params.Name == 'Down' or params.Name == 'Down2' then if GAMESTATE:IsHumanPlayer(params.PlayerNumber) then local ind = SCREENMAN:GetTopScreen():GetProfileIndex(params.PlayerNumber); if ind > 0 then