From 70cc76deb48e187d7928f9790381e5ef9540d184 Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Fri, 18 Feb 2022 15:32:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=AD=E9=80=81=E7=A5=9E=E5=B0=86=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Resolve/View/Resolve_Dismantle.lua | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Resolve/View/Resolve_Dismantle.lua b/Assets/ManagedResources/~Lua/Modules/Resolve/View/Resolve_Dismantle.lua index 87f654ec97..525678ae88 100644 --- a/Assets/ManagedResources/~Lua/Modules/Resolve/View/Resolve_Dismantle.lua +++ b/Assets/ManagedResources/~Lua/Modules/Resolve/View/Resolve_Dismantle.lua @@ -223,13 +223,11 @@ function this.SortHeroDatas(_heroDatas) local aGodLv = GodSoulManager.GetGodSoulLv(a.dynamicId) local bGodLv = GodSoulManager.GetGodSoulLv(b.dynamicId) if aGodLv == bGodLv then - - if a.lv == b.lv then - return a.heroConfig.Id > b.heroConfig.Id - else - return a.lv < b.lv - end - + if a.lv == b.lv then + return a.heroConfig.Id > b.heroConfig.Id + else + return a.lv < b.lv + end else return aGodLv < bGodLv end