Loop through sorted ships
This commit is contained in:
parent
2f00def791
commit
6a656ed98b
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ def main():
|
||||||
perr(game_map.map)
|
perr(game_map.map)
|
||||||
|
|
||||||
# Play
|
# Play
|
||||||
for ship in game_map.my_ships.values():
|
for _, ship in sorted(game_map.my_ships.items()):
|
||||||
ship.play_turn()
|
ship.play_turn()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue