From f9ef8275590afdcc27e77dba0122b1446961c8ad Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Thu, 16 Apr 2026 15:33:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=A6=E6=A0=87=E8=B5=9B=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/game/champship_mgr.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/server/game/champship_mgr.go b/src/server/game/champship_mgr.go index 72a3336a..62594a88 100644 --- a/src/server/game/champship_mgr.go +++ b/src/server/game/champship_mgr.go @@ -111,7 +111,7 @@ func (c *ChampshipMgr) Init() { c.ZeroUpdate() }) dispterTimer["zero"] = t - + log.Debug("ChampshipMgr init success, activity endtime:%d, now:%d, remain:%d, next zero update time:%s", activityCfg.Endtime, now, activityCfg.Endtime-now, GoUtil.FormatTime(activityCfg.Endtime)) remain := now - zeroTime remain1 := 1800 - remain%1800 @@ -245,6 +245,8 @@ func (c *ChampshipMgr) ZeroUpdate() (interface{}, error) { c.ZeroUpdate() }) dispterTimer["zero"] = t + now := GoUtil.Now() + log.Debug("ChampshipMgr init success, activity endtime:%d, now:%d, remain:%d, next zero update time:%s", activityCfg.Endtime, now, activityCfg.Endtime-now, GoUtil.FormatTime(activityCfg.Endtime)) c.mDispatr.AfterFunc(time.Duration(timeDuration+1800)*time.Second, func() { c.ZeroNotifyAll() })