From f0982d1c72fbcb34e8b59d5dca438da2ee232621 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Mon, 1 May 2023 17:56:30 +1000 Subject: [PATCH] BlueLagoon: Fixed endPhase --- src/comp1110/ass2/BlueLagoon.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/comp1110/ass2/BlueLagoon.java b/src/comp1110/ass2/BlueLagoon.java index c032956..1c8d5da 100644 --- a/src/comp1110/ass2/BlueLagoon.java +++ b/src/comp1110/ass2/BlueLagoon.java @@ -724,6 +724,7 @@ public class BlueLagoon { if (state.getCurrentPhase() == 'E') { state.cleanBoard(); state.distributeResources(); + state.nextPhase(); } return state.toString(); }