Commit c2dd504e5fe93e024d7539d5dfb55791ee2d4501

Authored by Suraputt Suntimitr
1 parent 1ca72264
Exists in master

fix bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/food/food.java
... ... @@ -57,7 +57,7 @@ public class food {
57 57 }
58 58 }
59 59  
60   - if (food.size() > 3) {
  60 + if (food.size() > 4) {
61 61 for (int j = 0; j < foreat.length; j++) {
62 62 today = random.nextInt(food.size());
63 63 checkfood[checkfood.length-1]=false;
... ...