add config option to enable rare notifs by default

This commit is contained in:
Martin Michelsen
2024-01-01 11:30:30 -08:00
parent 962ee6874e
commit c6ce39623e
5 changed files with 10 additions and 0 deletions
+1
View File
@@ -656,6 +656,7 @@ void ServerState::load_config() {
this->persistent_game_idle_timeout_usecs = json.get_int("PersistentGameIdleTimeout", this->persistent_game_idle_timeout_usecs);
this->cheat_mode_behavior = parse_behavior_switch("CheatModeBehavior", this->cheat_mode_behavior);
this->default_rare_notifs_enabled = json.get_bool("RareNotificationsEnabledByDefault", this->default_rare_notifs_enabled);
this->ep3_send_function_call_enabled = json.get_bool("EnableEpisode3SendFunctionCall", this->ep3_send_function_call_enabled);
this->catch_handler_exceptions = json.get_bool("CatchHandlerExceptions", this->catch_handler_exceptions);