Reformatted
This commit is contained in:
@@ -200,7 +200,8 @@ impl Game {
|
||||
// None
|
||||
// }
|
||||
let map = Map::from_game(self, from);
|
||||
map.shortest_path(from, to).map(|path| *path.get(1).unwrap_or(&from))
|
||||
map.shortest_path(from, to)
|
||||
.map(|path| *path.get(1).unwrap_or(&from))
|
||||
}
|
||||
|
||||
/// Returns true if a full round was played, false if the round aborted because all
|
||||
|
||||
Reference in New Issue
Block a user