add OldStyleStringToDifficulty method
because SM recognizes them in .sm files.
This commit is contained in:
@@ -72,6 +72,8 @@ Difficulty OldStyleStringToDifficulty( const RString& sDC )
|
||||
else return Difficulty_Invalid;
|
||||
}
|
||||
|
||||
LuaFunction( OldStyleStringToDifficulty, OldStyleStringToDifficulty(SArg(1)) );
|
||||
|
||||
static ThemeMetric<RString> NAMES("CustomDifficulty","Names");
|
||||
|
||||
RString GetCustomDifficulty( StepsType st, Difficulty dc, CourseType ct )
|
||||
|
||||
Reference in New Issue
Block a user