From 1cded8753089ccdfb97cedb83d7819150b517b7f Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Wed, 30 Apr 2025 21:08:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=80=E7=93=B6=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/src/floor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/src/floor.ts b/data/src/floor.ts index 572bc97..f8d1096 100644 --- a/data/src/floor.ts +++ b/data/src/floor.ts @@ -189,7 +189,7 @@ function convert( } } else if (dict.potion[tile] !== void 0) { const value = dict.potion[tile]; - if (maxGreenGem - minGreenGem < 1e-8) { + if (maxPotion - minPotion < 1e-8) { res[ny][nx] = 19; } else { const level = Math.min(