From ea05eeddb84a7fcc8c9519426cd306c8d3b228b3 Mon Sep 17 00:00:00 2001 From: luying Date: Tue, 19 Apr 2022 11:00:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BB=E6=88=90=EF=BC=9A=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=90=8D=E5=B0=86=E8=B0=B1bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/role/calCe.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game-server/app/services/role/calCe.ts b/game-server/app/services/role/calCe.ts index 9c1334e25..7a8a8746c 100644 --- a/game-server/app/services/role/calCe.ts +++ b/game-server/app/services/role/calCe.ts @@ -643,7 +643,7 @@ class CalCeData { this.schoolAttrsByAttrId.set(attrId, []); } this.schoolAttrsByAttrId.get(attrId).push(key); - if(!this.schoolAttrsByHid.has(attrId)) { + if(!this.schoolAttrsByHid.has(hid)) { this.schoolAttrsByHid.set(hid, []); } this.schoolAttrsByHid.get(hid).push(key); @@ -684,7 +684,7 @@ class CalCeData { this.scrollAttrsByAttrId.set(attrId, []); } this.scrollAttrsByAttrId.get(attrId).push(key); - if(!this.scrollAttrsByHid.has(attrId)) { + if(!this.scrollAttrsByHid.has(hid)) { this.scrollAttrsByHid.set(hid, []); } this.scrollAttrsByHid.get(hid).push(key);