Improve design of craft ending.

This commit is contained in:
John Preston
2026-01-30 00:07:42 +04:00
parent 966968db7b
commit 701215381a
11 changed files with 634 additions and 122 deletions
@@ -1685,7 +1685,7 @@ SessionController::SessionController(
#if _DEBUG // TEST: Auto-open craft box on startup
constexpr auto kGiftsCount = 4;
crl::on_main(this, [=] {
if (rand() % 2 < 0) {
if (rand() % 2 >= 0) {
return;
}
const auto user = session->user();