From a23a853cb7c5c6a43c619d3ac87487ec825195e2 Mon Sep 17 00:00:00 2001 From: ChenX Date: Mon, 13 Jun 2022 17:51:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=E6=9C=80=E5=B0=8F=E8=B7=9D?= =?UTF-8?q?=E7=A6=BB=E5=88=A4=E6=96=AD=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Room/ParseService/Hole/RoomIHoleParseAndModify.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DatabaseServices/Room/ParseService/Hole/RoomIHoleParseAndModify.ts b/src/DatabaseServices/Room/ParseService/Hole/RoomIHoleParseAndModify.ts index c4ef9d803..b45e34f81 100644 --- a/src/DatabaseServices/Room/ParseService/Hole/RoomIHoleParseAndModify.ts +++ b/src/DatabaseServices/Room/ParseService/Hole/RoomIHoleParseAndModify.ts @@ -290,12 +290,12 @@ export class RoomLHoleParseAndModify if (r1.isReverse) { this.MaxLeftDist = wall1.Length * ranges1[0][1]; - this.MinLeftDist = wall1.Length * ranges1[0][0]; + this.MinLeftDist = wall1.Length * (1 - arrayLast(ranges1)[1]); } else { this.MaxLeftDist = wall1.Length * (1 - arrayLast(ranges1)[0]); - this.MinLeftDist = wall1.Length * (1 - arrayLast(ranges1)[1]); + this.MinLeftDist = wall1.Length * ranges1[0][0]; } if (r2.isReverse)