- Fix issue 694

- Bump version number to 0.16.0 for upcoming release
This commit is contained in:
wagic.the.homebrew
2011-07-05 13:02:41 +00:00
parent c25dfe426f
commit c3ae216f62
3 changed files with 11 additions and 5 deletions

View File

@@ -125,11 +125,11 @@ void GameStateDuel::Start()
vector<DeckMetaData *> playerDeckList = BuildDeckList(options.profileFile());
int nbDecks = playerDeckList.size();
if (nbDecks > 1)
{
if (nbDecks)
decksneeded = 0;
if (nbDecks > 1)
deckmenu->Add(MENUITEM_RANDOM_PLAYER, "Random", "Play with a random deck.");
}
renderDeckMenu(deckmenu, playerDeckList);
// save the changes to the player deck list maintained in DeckManager