handle invalid maker ids

This commit is contained in:
Bui 2019-11-25 01:44:40 +00:00
parent 0ac923d245
commit 30bc2b1002

View File

@ -1518,7 +1518,7 @@ class SongSelect{
{outline: "#fff", letterBorder: 8}, {outline: "#fff", letterBorder: 8},
{fill: "#000"} {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 _x = x + 62
var _y = y + 380 var _y = y + 380
ctx.lineWidth = 5 ctx.lineWidth = 5