From 30bc2b10028bbcba8a7633fdf7e2be725ee9700b Mon Sep 17 00:00:00 2001 From: Bui Date: Mon, 25 Nov 2019 01:44:40 +0000 Subject: [PATCH] handle invalid maker ids --- public/src/js/songselect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/js/songselect.js b/public/src/js/songselect.js index 642f4e5..70c6bd1 100644 --- a/public/src/js/songselect.js +++ b/public/src/js/songselect.js @@ -1518,7 +1518,7 @@ class SongSelect{ {outline: "#fff", letterBorder: 8}, {fill: "#000"} ]) - } else if(currentSong.maker && currentSong.maker.id > 0){ + } else if(currentSong.maker && currentSong.maker.id > 0 && currentSong.maker.name){ var _x = x + 62 var _y = y + 380 ctx.lineWidth = 5