Skip to content

Commit

Permalink
Bug fix in checking if attack phase is over.
Browse files Browse the repository at this point in the history
  • Loading branch information
ra314 committed Oct 21, 2021
1 parent 0d85b04 commit ede6dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/Levels/Level Main.gd
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ func add_random_countries(player, num_countries):

func is_attack_over():
for country in curr_player.owned_countries:
if country.get_attackable_countries():
if country.get_attackable_countries(game_modes):
return false
return true

Expand Down

0 comments on commit ede6dae

Please sign in to comment.