make hide_download_commands configurable
This commit is contained in:
@@ -67,6 +67,7 @@ ServerState::ServerState(shared_ptr<struct event_base> base, const string& confi
|
||||
ep3_final_round_meseta_bonus(300),
|
||||
ep3_jukebox_is_free(false),
|
||||
ep3_behavior_flags(0),
|
||||
hide_download_commands(true),
|
||||
run_shell_behavior(RunShellBehavior::DEFAULT),
|
||||
cheat_mode_behavior(BehaviorSwitch::OFF_BY_DEFAULT),
|
||||
bb_global_exp_multiplier(1),
|
||||
@@ -719,6 +720,7 @@ void ServerState::parse_config(const JSON& json, bool is_reload) {
|
||||
this->ep3_jukebox_is_free = json.get_bool("Episode3JukeboxIsFree", this->ep3_jukebox_is_free);
|
||||
this->ep3_behavior_flags = json.get_int("Episode3BehaviorFlags", this->ep3_behavior_flags);
|
||||
this->ep3_card_auction_points = json.get_int("CardAuctionPoints", this->ep3_card_auction_points);
|
||||
this->hide_download_commands = json.get_bool("HideDownloadCommands", this->hide_download_commands);
|
||||
this->proxy_allow_save_files = json.get_bool("ProxyAllowSaveFiles", this->proxy_allow_save_files);
|
||||
this->proxy_enable_login_options = json.get_bool("ProxyEnableLoginOptions", this->proxy_enable_login_options);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user