moveTo handled inside the loop.
This commit is contained in:
@@ -1029,8 +1029,6 @@ public enum BuildingManager {
|
|||||||
|
|
||||||
// Build Path from vertices
|
// Build Path from vertices
|
||||||
|
|
||||||
outPath.moveTo(vertices.get(0).x, vertices.get(0).y);
|
|
||||||
|
|
||||||
for (Vector2f vertex : vertices) {
|
for (Vector2f vertex : vertices) {
|
||||||
|
|
||||||
if (outPath.getCurrentPoint() == null)
|
if (outPath.getCurrentPoint() == null)
|
||||||
|
|||||||
Reference in New Issue
Block a user