From 30e7ef5bd5c59eba1f1e8c69bde943561b1573c6 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Tue, 22 Feb 2022 14:20:02 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=97=A0=E5=B0=BD=E5=89=AF=E6=9C=AC?= =?UTF-8?q?=E3=80=91=E5=8A=A0=E5=85=A5=E7=A5=9E=E5=B0=86=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Map/EndLessMapManager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Map/EndLessMapManager.lua b/Assets/ManagedResources/~Lua/Modules/Map/EndLessMapManager.lua index caf87cda3d..23f5ce494d 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/EndLessMapManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/EndLessMapManager.lua @@ -566,7 +566,7 @@ function this.GetHeroDataByProperty1(_proId,_heros) break end end - if not isExist and (v.property == _proId or _proId == 0) then + if not isExist and (v.property == _proId or _proId == 0) and HeroManager.InVersion(v.id) then index = #_heros + 1 _heros[index] = v _heros[index].exist = 0