Skip to content

Commit

Permalink
fix playlist installing
Browse files Browse the repository at this point in the history
  • Loading branch information
ComputerElite authored Aug 13, 2021
1 parent 198b4d2 commit abbdef8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion C#/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public partial class MainWindow : Window
{
public static int MajorV = 1;
public static int MinorV = 16;
public static int PatchV = 2;
public static int PatchV = 3;
public static bool Preview = false;
public static bool log = false;

Expand Down
6 changes: 3 additions & 3 deletions C#/PlaylistEditor.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ public async void ImportBPList(BPList BPList, bool AutoMode = false)
{
foreach (BPListSong search in tmp)
{
if (search.hash.ToLower().Contains(s.Hash.ToLower()))
if (s.Hash.ToLower().Contains(search.hash.ToLower()))
{
txtbox.AppendText("\n\n" + MainWindow.globalLanguage.processer.ReturnProcessed(MainWindow.globalLanguage.playlistEditor.code.movedSongToBPList, s.SongName));
newpl.SongList.Add(s);
Expand Down Expand Up @@ -1106,7 +1106,7 @@ public async void ImportBPList(BPList BPList, bool AutoMode = false)
{
foreach (BPListSong search in tmp)
{
if (search.hash.ToLower().Contains(s.Hash.ToLower()))
if (s.Hash.ToLower().Contains(search.hash.ToLower()))
{
txtbox.AppendText("\n\n" + MainWindow.globalLanguage.processer.ReturnProcessed(MainWindow.globalLanguage.playlistEditor.code.movedSongToBPList, s.SongName));
BMBFConfig.Config.Playlists[pl].SongList.Add(s);
Expand Down Expand Up @@ -1171,7 +1171,7 @@ public async void ImportBPList(BPList BPList, bool AutoMode = false)
{
foreach (BPListSong search in tmp)
{
if (search.hash.ToLower().Contains(s.Hash.ToLower()))
if (s.Hash.ToLower().Contains(search.hash.ToLower()))
{
txtbox.AppendText("\n\n" + MainWindow.globalLanguage.processer.ReturnProcessed(MainWindow.globalLanguage.playlistEditor.code.movedSongToBPList, s.SongName));
newpl.SongList.Add(s);
Expand Down

0 comments on commit abbdef8

Please sign in to comment.