修改锦标赛结算时间

This commit is contained in:
hahwu 2026-03-30 16:21:50 +08:00
parent ea4fe0bd8e
commit 01ab2f794b

View File

@ -19,9 +19,9 @@ type ChampshipMod struct {
func (c *ChampshipMod) InitData() {}
// isActive 判断当前是否在冠军赛活跃时段(零点后 30 分钟内为结算期,不计分)
// isActive 判断当前是否在冠军赛活跃时段(零点后 5 分钟内为结算期,不计分)
func (c *ChampshipMod) isActive() bool {
return GoUtil.Now()-GoUtil.ZeroTimestamp() >= 1800
return GoUtil.Now()-GoUtil.ZeroTimestamp() >= 300
}
func (c *ChampshipMod) ZeroUpdate() {