Add default support for bowling dice.
This commit is contained in:
parent
07735c27e8
commit
987f26efdc
@ -1164,7 +1164,7 @@ void StickersManager::init() {
|
||||
}
|
||||
|
||||
dice_emojis_str_ =
|
||||
G()->shared_config().get_option_string("dice_emojis", "π²\x01π―\x01π\x01β½\x01β½οΈ\x01π°");
|
||||
G()->shared_config().get_option_string("dice_emojis", "π²\x01π―\x01π\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));
|
||||
@ -3731,7 +3731,7 @@ void StickersManager::on_update_dice_emojis() {
|
||||
}
|
||||
|
||||
auto dice_emojis_str =
|
||||
G()->shared_config().get_option_string("dice_emojis", "π²\x01π―\x01π\x01β½\x01β½οΈ\x01π°");
|
||||
G()->shared_config().get_option_string("dice_emojis", "π²\x01π―\x01π\x01β½\x01β½οΈ\x01π°\x01π³");
|
||||
if (dice_emojis_str == dice_emojis_str_) {
|
||||
return;
|
||||
}
|
||||
@ -3766,7 +3766,7 @@ void StickersManager::on_update_dice_success_values() {
|
||||
}
|
||||
|
||||
auto dice_success_values_str =
|
||||
G()->shared_config().get_option_string("dice_success_values", "0,6:62,5:110,5:110,5:110,64:110");
|
||||
G()->shared_config().get_option_string("dice_success_values", "0,6:62,5:110,5:110,5:110,64:110,6:110");
|
||||
if (dice_success_values_str == dice_success_values_str_) {
|
||||
return;
|
||||
}
|
||||
|
Loadingβ¦
Reference in New Issue
Block a user