Skip to content

Commit

Permalink
Merge pull request #874 from DeinAlptraum/fix-randomsong-idx
Browse files Browse the repository at this point in the history
Set initial random song idx independently of CatSongs
  • Loading branch information
barbeque-squared authored Jul 21, 2024
2 parents 37ed646 + 195cb3c commit 026983a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/screens/UScreenSong.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1858,8 +1858,8 @@ constructor TScreenSong.Create;
LastSelectMouse := 0;
LastSelectTime := 0;

NextRandomSongIdx := CatSongs.VisibleSongs;
NextRandomSearchIdx := CatSongs.VisibleSongs;
NextRandomSongIdx := High(cardinal);
NextRandomSearchIdx := High(cardinal);

end;

Expand Down

0 comments on commit 026983a

Please sign in to comment.