Add default support for Soccer dice.
GitOrigin-RevId: aa67796f72b62ede966a67004f8a3d517f372789
This commit is contained in:
parent
2e82c65d94
commit
7685047186
@ -1161,7 +1161,7 @@ void StickersManager::init() {
|
||||
animated_emoji_sticker_set.short_name_);
|
||||
}
|
||||
|
||||
dice_emojis_str_ = G()->shared_config().get_option_string("dice_emojis", "π²\x01π―\x01π");
|
||||
dice_emojis_str_ = G()->shared_config().get_option_string("dice_emojis", "π²\x01π―\x01π\x01β½\x01β½οΈ");
|
||||
dice_emojis_ = full_split(dice_emojis_str_, '\x01');
|
||||
for (auto &dice_emoji : dice_emojis_) {
|
||||
auto &animated_dice_sticker_set = add_special_sticker_set(SpecialStickerSetType::animated_dice(dice_emoji));
|
||||
@ -3445,7 +3445,7 @@ void StickersManager::on_update_dice_emojis() {
|
||||
return;
|
||||
}
|
||||
|
||||
auto dice_emojis_str = G()->shared_config().get_option_string("dice_emojis", "π²\x01π―\x01π");
|
||||
auto dice_emojis_str = G()->shared_config().get_option_string("dice_emojis", "π²\x01π―\x01π\x01β½\x01β½οΈ");
|
||||
if (dice_emojis_str == dice_emojis_str_) {
|
||||
return;
|
||||
}
|
||||
@ -3479,7 +3479,7 @@ void StickersManager::on_update_dice_success_values() {
|
||||
return;
|
||||
}
|
||||
|
||||
auto dice_success_values_str = G()->shared_config().get_option_string("dice_success_values", "0,0,0");
|
||||
auto dice_success_values_str = G()->shared_config().get_option_string("dice_success_values", "0,6:62,5:110,0,0");
|
||||
if (dice_success_values_str == dice_success_values_str_) {
|
||||
return;
|
||||
}
|
||||
|
Loadingβ¦
Reference in New Issue
Block a user