Permalink
Browse files

Fixing bug where player can click enemy territories on second fortify

  • Loading branch information...
1 parent 9ff1f0f commit fc65ca0391e33c25a85a5b6614ff850bb1d8b863 @elElmo elElmo committed Apr 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 risk/graphics/input.py
@@ -308,11 +308,11 @@ def attack_failed(player, game_master, origin, target):
def fortify_phase(player, game_master):
picasso = get_picasso()
- disable_enemy_territories(player)
hint_asset = build_hint_asset(FORTIFY_HINTS['initial'])
done = False
# TODO merge with attack phase block
while not done:
+ disable_enemy_territories(player)
picasso.add_asset(LAYER, hint_asset)
event = wait_for_mouse_click()
for name, clickable in get_clicked_territories(event.pos):

0 comments on commit fc65ca0

Please sign in to comment.