From b3ffdca5efaa8605a081179a737207587dbe98ff Mon Sep 17 00:00:00 2001 From: Nicolas Date: Sun, 18 Feb 2018 20:31:17 -0300 Subject: [PATCH] Fix til death playlist selection for pages other than 1 --- .../BGAnimations/ScreenSelectMusic decorations/playlists.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/playlists.lua b/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/playlists.lua index 82a80b2628..3c8040f007 100644 --- a/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/playlists.lua +++ b/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/playlists.lua @@ -523,7 +523,7 @@ local function PlaylistTitleDisplayButton(i) end, MouseLeftClickMessageCommand=function(self) if ButtonActive(self,fontScale) and allplaylistsactive then - SONGMAN:SetActivePlaylist(allplaylists[i]:GetName()) + SONGMAN:SetActivePlaylist(allplaylists[i + ((currentplaylistpage - 1) * playlistsperpage)]:GetName()) pl = allplaylists[i + ((currentplaylistpage - 1) * playlistsperpage)] MESSAGEMAN:Broadcast("DisplaySinglePlaylist") end