From 6ceab2bd1165432ba61fc42d707bc2fb36570b22 Mon Sep 17 00:00:00 2001 From: ExE Boss Date: Sun, 19 Jun 2022 10:00:00 +0200 Subject: [PATCH] =?UTF-8?q?Fix=C2=A0windmill=20sub=E2=80=91shape=C2=A0chec?= =?UTF-8?q?k=20in=C2=A0shape=C2=A0generation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/js/game/map_chunk.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/game/map_chunk.js b/src/js/game/map_chunk.js index b966a322..25f51b03 100644 --- a/src/js/game/map_chunk.js +++ b/src/js/game/map_chunk.js @@ -233,7 +233,8 @@ export class MapChunk { ++windmillCount; } } - if (windmillCount > 1) { + + if (windmillCount > 2) { subShapes[0] = enumSubShape.rect; subShapes[1] = enumSubShape.rect; }