From 3d50e2551abc84726a85c7ff913c8d115f714f7e Mon Sep 17 00:00:00 2001 From: liwei <2211068034@qq.com> Date: Wed, 19 Jul 2023 18:18:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=85=B1=E9=B8=A3=E6=B0=B4?= =?UTF-8?q?=E6=99=B6=E6=8E=92=E5=BA=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/passon/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/passon/module.go b/modules/passon/module.go index 5afcc11d0..adeef5033 100644 --- a/modules/passon/module.go +++ b/modules/passon/module.go @@ -83,7 +83,7 @@ func (this *Passon) HeroUpLv(session comm.IUserSession, heroid string, lv int32) return heros[i].Lv > heros[j].Lv } else { conf_i, _ := this.ModuleTools.GetHeroConfig(heros[i].HeroID) - conf_j, _ := this.ModuleTools.GetHeroConfig(heros[i].HeroID) + conf_j, _ := this.ModuleTools.GetHeroConfig(heros[j].HeroID) return conf_i.Color > conf_j.Color } })