Skip to content

Commit da5ae4e

Browse files
committed
Fix incorrect assert logic
1 parent 78e87e1 commit da5ae4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CustomAlbums/SaveManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public static void SplitCustomData()
9797
var difficulty = int.Parse(dUid.RemoveFromStart($"{AlbumManager.Uid}-").Split('_')[1]);
9898
var albumKey = AlbumManager.GetAlbumKeyByIndex(albumIndex);
9999

100-
if (AssertAlbumKeyIndex(albumKey, albumIndex))
100+
if (!AssertAlbumKeyIndex(albumKey, albumIndex))
101101
continue;
102102

103103
var failData = GameFailCount.FirstOrDefault(d => d["uid"].GetResult<string>() == dUid);
@@ -145,7 +145,7 @@ public static void SplitCustomData()
145145
var difficulty = int.Parse(dUid.RemoveFromStart($"{AlbumManager.Uid}-").Split('_')[1]);
146146
var albumKey = AlbumManager.GetAlbumKeyByIndex(albumIndex);
147147

148-
if (AssertAlbumKeyIndex(albumKey, albumIndex))
148+
if (!AssertAlbumKeyIndex(albumKey, albumIndex))
149149
continue;
150150

151151
// New

0 commit comments

Comments
 (0)