Merge /AdditionalSongs into /Songs, and /AdditionalCourses into /Courses
Includes a backwards-compatibility mechanism to adapt paths when loading Stats.xml.
This commit is contained in:
@@ -70,11 +70,8 @@ Branch = {
|
||||
end
|
||||
end,
|
||||
StartGame = function()
|
||||
-- Check to see if there are 0 songs installed. Also make sure to check
|
||||
-- that the additional song count is also 0, because there is
|
||||
-- a possibility someone will use their existing StepMania simfile
|
||||
-- collection with sm-ssc via AdditionalFolders/AdditionalSongFolders.
|
||||
if SONGMAN:GetNumSongs() == 0 and SONGMAN:GetNumAdditionalSongs() == 0 then
|
||||
-- Check to see if there are 0 songs installed.
|
||||
if SONGMAN:GetNumSongs() == 0 then
|
||||
return "ScreenHowToInstallSongs"
|
||||
end
|
||||
if PROFILEMAN:GetNumLocalProfiles() >= 2 then
|
||||
@@ -93,7 +90,7 @@ Branch = {
|
||||
end,
|
||||
OptionsEdit = function()
|
||||
-- Similar to above, don't let anyone in here with 0 songs.
|
||||
if SONGMAN:GetNumSongs() == 0 and SONGMAN:GetNumAdditionalSongs() == 0 then
|
||||
if SONGMAN:GetNumSongs() == 0 then
|
||||
return "ScreenHowToInstallSongs"
|
||||
end
|
||||
return "ScreenOptionsEdit"
|
||||
|
||||
Reference in New Issue
Block a user