From 476af100fbf55f7e3b70cb49c2885f37d2e47d8f Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sun, 27 Jun 2010 15:13:53 -0500 Subject: [PATCH] fix restricted modes always going into options --- Themes/_fallback/Scripts/02 Branches.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Themes/_fallback/Scripts/02 Branches.lua b/Themes/_fallback/Scripts/02 Branches.lua index c323580100..43bc74b663 100644 --- a/Themes/_fallback/Scripts/02 Branches.lua +++ b/Themes/_fallback/Scripts/02 Branches.lua @@ -122,13 +122,14 @@ Branch = { local restricted = { "PlayMode_Oni", "PlayMode_Rave", --"PlayMode_Battle" -- ?? }; + local optionsScreen = "ScreenPlayerOptions" for i=1,#restricted do if restricted[i] == pm then - return "ScreenPlayerOptionsRestricted" + optionsScreen = "ScreenPlayerOptionsRestricted" end; end if SCREENMAN:GetTopScreen():GetGoToOptions() then - return "ScreenPlayerOptions"; + return optionsScreen; else return "ScreenStageInformation"; end