1
0
mirror of synced 2024-11-23 22:41:01 +01:00

Maybe fix duplicate difficult sort

This commit is contained in:
esuo1198 2023-09-24 08:19:31 +09:00
parent 4b299b5259
commit ff1baca330

View File

@ -27,9 +27,13 @@ public class InitialDataCheckController : BaseController<InitialDataCheckControl
var musicList = gameDataService.GetMusicList();
var lockedSongsList = gameDataService.GetLockedSongsList();
var enabledMusicList = musicList.Except(lockedSongsList);
var enabledArray =
FlagCalculator.GetBitArrayFromIds(enabledMusicList, songIdMax, Logger);
FlagCalculator.GetBitArrayFromIds(musicList, songIdMax, Logger);
var defaultSongList = musicList.Except(lockedSongsList);
var defaultSongFlg =
FlagCalculator.GetBitArrayFromIds(defaultSongList, songIdMax, Logger);
var defaultSongWithUraList = gameDataService.GetMusicWithUraList();
var enabledUraMusicList = defaultSongWithUraList.Except(lockedSongsList);
@ -39,7 +43,7 @@ public class InitialDataCheckController : BaseController<InitialDataCheckControl
var response = new InitialdatacheckResponse
{
Result = 1,
DefaultSongFlg = enabledArray,
DefaultSongFlg = defaultSongFlg,
AchievementSongBit = enabledArray,
UraReleaseBit = uraReleaseBit,
SongIntroductionEndDatetime = DateTime.Now.AddYears(10).ToString(Constants.DATE_TIME_FORMAT),