军团活动:修复玩家排行榜的时间错误

This commit is contained in:
luying
2022-05-27 14:03:11 +08:00
parent 92bf2c76d2
commit bf9bf9e369
2 changed files with 3 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ export class CityActivityObject {
}
public getTimeGap() {
return Date.now() - this.startTime;
return Math.floor((Date.now() - this.startTime)/1000);
}
public hasSent(serverId: number, cityId: number) {