From bb01b4c26bbe0f3dc66b0cba4cbe01d02f16ca96 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 21 Sep 2005 20:53:20 +0000 Subject: [PATCH] add GetCoursesToShowRanking --- stepmania/Themes/default/Scripts/Other.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stepmania/Themes/default/Scripts/Other.lua b/stepmania/Themes/default/Scripts/Other.lua index 62e6a688ef..182949b054 100644 --- a/stepmania/Themes/default/Scripts/Other.lua +++ b/stepmania/Themes/default/Scripts/Other.lua @@ -37,6 +37,12 @@ function JudgmentTransformCommand( self, pn, mp, iEnabledPlayerIndex, iNumEnable end end +function GetCoursesToShowRanking() + local CoursesToShowRanking = PREFSMAN:GetPreference("CoursesToShowRanking") + if CoursesToShowRanking ~= "" then return CoursesToShowRanking end + return "Courses/Samples/Tournamix 4 Sample.crs,Courses/Samples/StaminaTester.crs,Courses/Samples/PlayersBest1-4.crs" +end + -- (c) 2005 Chris Danford -- All rights reserved.