This commit is contained in:
2020-02-26 20:54:22 +01:00
2 changed files with 4 additions and 4 deletions

View File

@ -304,10 +304,9 @@ public class Board {
robot.setFacingDirection(Direction.NORTH);
robots.put(robot.getRobotId(), robot);
}
else {
deadRobots.remove(robot);
}
else {deadRobots.remove(robot); }
}
deadRobots = new ArrayList<>();
}
/**