Commits

Alexander Schremmer committed 1e554b3

Fix treasure map title, warehouse logic, info queue display.

Comments (0)

Files changed (2)

domination/cards/seaside.py

 
     def activate_action(self, game, player):
         player.remaining_actions += 1
-        player.draw_cards(2)
+        player.draw_cards(3)
         cards = yield SelectHandCards(game, player, count_lower=3, count_upper=3,
                 msg=_("Which 3 cards do you want to discard?"))
         # discard cards
         pass #FIXME
 
 class TreasureMap(ActionCard):
-    name = _("TreasureMap")
+    name = _("Treasure Map")
     edition = Seaside
     cost = 4
     trash_after_playing = True

domination/main.py

     seqno = game_runner.seqno
     if game_runner.game in get_store()["games"]:
         player = get_store()["games"][game_runner.game]
-        info_queue = player.info_queue
         if request.method == 'POST':
             cv = player.response_condition
             cv.acquire()
                 # cleanup XXX more
                 del app.games[game.name]
                 raise req.exc_info[0], req.exc_info[1], req.exc_info[2]
+        info_queue = player.info_queue
     else:
         for kibitzer in game.kibitzers:
             if kibitzer.name == session["username"]: