From 6f064ed36bd13d8ceb096016217d8f98b0c1d7bb Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Thu, 21 Sep 2023 08:22:58 +0800 Subject: [PATCH] =?UTF-8?q?characterIntro=E7=AD=9B=E9=80=89=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/game.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/game/game.js b/game/game.js index 36296bfd6..4f8dde0f4 100644 --- a/game/game.js +++ b/game/game.js @@ -55040,11 +55040,7 @@ } } } - if(name.indexOf('gz_')==0){ - name=name.slice(3); - if(lib.characterIntro[name]) return lib.characterIntro[name]; - } - if(name.indexOf('_')!=-1){ + while(name.indexOf('_')!=-1&&!lib.characterIntro[name]){ name=name.slice(name.indexOf('_')+1); } if(lib.characterIntro[name]) return lib.characterIntro[name];