fix restricted modes always going into options

This commit is contained in:
AJ Kelly
2010-06-27 15:13:53 -05:00
parent 168c6f1460
commit 476af100fb
+3 -2
View File
@@ -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