From 3dd1b6b059759b5c63a983efa395c8cca150d2fe Mon Sep 17 00:00:00 2001 From: Anthony Debucquoy Date: Fri, 12 May 2023 11:36:43 +0200 Subject: [PATCH] Less Small Pieces --- app/src/main/java/school_project/MapGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/school_project/MapGenerator.java b/app/src/main/java/school_project/MapGenerator.java index e782f97..7dd54a3 100644 --- a/app/src/main/java/school_project/MapGenerator.java +++ b/app/src/main/java/school_project/MapGenerator.java @@ -63,7 +63,7 @@ public class MapGenerator { while (EmptySlots.size() > 0){ Collections.shuffle(EmptySlots); Vec2 selected = EmptySlots.get(0); - int size = rand.nextInt(3)+1; + int size = 3; boolean[][] shape = new boolean[size][size]; for(int i = 0; i < size; i++){ for (int j = 0; j < size; j++) { -- 2.46.0