From a28c6f272b460ceded0664a2e4620f66a40d5991 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 3 Dec 2023 10:30:28 -0500 Subject: [PATCH] Helper method for path creation --- src/engine/gameManager/BuildingManager.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index 3be25723..821e5c8d 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -1053,10 +1053,9 @@ public enum BuildingManager { outPath.moveTo(vertex.x, vertex.y); else outPath.lineTo(vertex.x, vertex.y); - - outPath.closePath(); - } + + outPath.closePath(); return outPath; } }