bugfix: rankSeason.json 赛季配置为空
This commit is contained in:
parent
ca5dc6cacb
commit
d299c7e767
@ -47,7 +47,10 @@ class Season {
|
|||||||
|
|
||||||
checkSeasonEnd(nowTime) {
|
checkSeasonEnd(nowTime) {
|
||||||
let c = this.getCurSeasonId(nowTime);
|
let c = this.getCurSeasonId(nowTime);
|
||||||
return (nowTime>c.end_time);
|
if (!!c) {
|
||||||
|
return (nowTime>c.end_time);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
getCurSeasonId(nowTime) {
|
getCurSeasonId(nowTime) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user