From 41f292b190351ed15eb5b0a6eb622c7b97e8765b Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Thu, 16 Apr 2026 11:53:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=A6=E6=A0=87=E8=B5=9B=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/game/champship_mgr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/champship_mgr.go b/src/server/game/champship_mgr.go index 591435b7..2b74cec6 100644 --- a/src/server/game/champship_mgr.go +++ b/src/server/game/champship_mgr.go @@ -179,7 +179,7 @@ func (c *ChampshipMgr) ZeroUpdate() (interface{}, error) { data.mu.Lock() activityCfg := G_GameLogicPtr.ActivityMgr.GetActivityListByType(activity.ACT_TYPE_CHAMPION) // 如果活动ID没有变化,说明没有新的活动,不需要重置数据 - if activityCfg.AId == data.Aid { + if activityCfg.AId != 0 && activityCfg.AId == data.Aid { log.Debug("championship zero update not init by aid %d", data.Aid) return nil, nil }