From 67d15fc08f46be16981997a065f06318c156d681 Mon Sep 17 00:00:00 2001 From: "born a rick, raised a morty, died a jerry" Date: Mon, 26 Nov 2018 01:15:16 -0500 Subject: [PATCH] fix theme error --- .../BGAnimations/ScreenNetSelectMusic decorations/default.lua | 2 +- .../BGAnimations/ScreenSelectMusic decorations/default.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Themes/Til Death/BGAnimations/ScreenNetSelectMusic decorations/default.lua b/Themes/Til Death/BGAnimations/ScreenNetSelectMusic decorations/default.lua index a4136b6b65..5386ad53cb 100644 --- a/Themes/Til Death/BGAnimations/ScreenNetSelectMusic decorations/default.lua +++ b/Themes/Til Death/BGAnimations/ScreenNetSelectMusic decorations/default.lua @@ -132,7 +132,7 @@ g[#g + 1] = PlayingSampleMusicMessageCommand = function(self) local leaderboardEnabled = playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).leaderboardEnabled and DLMAN:IsLoggedIn() - if leaderboardEnabled then + if leaderboardEnabled and GAMESTATE:GetCurrentSteps(PLAYER_1) then local chartkey = GAMESTATE:GetCurrentSteps(PLAYER_1):GetChartKey() DLMAN:RequestChartLeaderBoardFromOnline( chartkey, diff --git a/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/default.lua b/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/default.lua index 1c677736c0..4485e07a18 100644 --- a/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/default.lua +++ b/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/default.lua @@ -46,7 +46,7 @@ t[#t + 1] = PlayingSampleMusicMessageCommand = function(self) local leaderboardEnabled = playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).leaderboardEnabled and DLMAN:IsLoggedIn() - if leaderboardEnabled then + if leaderboardEnabled and GAMESTATE:GetCurrentSteps(PLAYER_1) then local chartkey = GAMESTATE:GetCurrentSteps(PLAYER_1):GetChartKey() DLMAN:RequestChartLeaderBoardFromOnline( chartkey,