bugfix: rankSeason.json 赛季配置为空

This commit is contained in:
lightings 2022-11-01 11:35:45 +08:00
parent ca5dc6cacb
commit d299c7e767

View File

@ -47,7 +47,10 @@ class Season {
checkSeasonEnd(nowTime) {
let c = this.getCurSeasonId(nowTime);
return (nowTime>c.end_time);
if (!!c) {
return (nowTime>c.end_time);
}
return false;
}
getCurSeasonId(nowTime) {