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
+3
View File
@@ -195,6 +195,9 @@ Client::Client(
external_bank_character_index(-1),
last_play_time_update(0) {
this->config.set_flags_for_version(version, -1);
if (server->get_state()->default_rare_notifs_enabled) {
this->config.set_flag(Flag::RARE_DROP_NOTIFICATIONS_ENABLED);
}
this->config.specific_version = default_specific_version_for_version(version, -1);
this->last_switch_enabled_command.header.subcommand = 0;