Add Cardcast decks in use to log output when starting game

This commit is contained in:
Andy Janata 2014-08-14 08:29:48 -07:00
parent 194cf11c7f
commit 1d98a78f8c
1 changed files with 3 additions and 3 deletions

View File

@ -646,9 +646,9 @@ public class Game {
started = false;
}
if (started) {
logger.info(String.format("Starting game %d with card sets %s, %d blanks, %d max players, " +
"%d max spectators, %d score limit, players %s.",
id, options.cardSetIds, options.blanksInDeck, options.playerLimit,
logger.info(String.format("Starting game %d with card sets %s, Cardcast %s, %d blanks, %d " +
"max players, %d max spectators, %d score limit, players %s.",
id, options.cardSetIds, cardcastDeckIds, options.blanksInDeck, options.playerLimit,
options.spectatorLimit, options.scoreGoal, players));
// do this stuff outside the players lock; they will lock players again later for much less
// time, and not at the same time as trying to lock users, which has caused deadlocks