From 52f948508c147cce02419cae9d93afb942eada3c Mon Sep 17 00:00:00 2001 From: Hersi Date: Fri, 10 Nov 2023 11:13:32 +0100 Subject: [PATCH] fix empty username fallback --- scripts/songselect/songwheel.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/songselect/songwheel.lua b/scripts/songselect/songwheel.lua index dae4117..01e7c60 100644 --- a/scripts/songselect/songwheel.lua +++ b/scripts/songselect/songwheel.lua @@ -556,7 +556,7 @@ function drawLocalLeaderboard(diff) local username = scoreTable and scoreTable.playerName -- if for some reason there's a score but no associated username, fall back to skin setting - if score and not username then + if score and username == "" then username = game.GetSkinSetting("username") end