Skip to content

Commit

Permalink
only enable standard official packages by default
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Nov 12, 2011
1 parent 48048de commit c917ee6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/core/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,20 @@ void Settings::init(){

CountDownSeconds = value("CountDownSeconds", 3).toInt();
GameMode = value("GameMode", "02p").toString();


if(!contains("BanPackages")){
QStringList banlist;
banlist << "nostalgia" << "yitian" << "wisdom" << "test"
<< "disaster" << "god" << "YJCM" << "yitian_cards"
<< "sp" << "sp_cards"
<< "joy" << "joy_equip";

setValue("BanPackages", banlist);
}

BanPackages = value("BanPackages").toStringList();

ContestMode = value("ContestMode", false).toBool();
FreeChoose = value("FreeChoose", false).toBool();
ForbidSIMC = value("ForbidSIMC", false).toBool();
Expand Down

0 comments on commit c917ee6

Please sign in to comment.