Skip to content
Snippets Groups Projects
Commit 510f7add authored by CHAHINE Rami's avatar CHAHINE Rami
Browse files

.

parent 5a4fff6e
No related branches found
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -117,7 +117,7 @@ public class FirefighterBoard implements Board<List<ModelElement>> {
List<Position> modifiedPositions = new ArrayList<>();
// Spread fire every two rounds
if (step % 2 == 0) {
if (step % 2 == 1) {
firePositions.addAll(spreadFire());
modifiedPositions.addAll(firePositions);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment