From cb080fa7ed090cd02667f89b11c635abddd6f9fb Mon Sep 17 00:00:00 2001 From: Degradin Date: Sun, 5 Jan 2025 00:45:35 +0300 Subject: [PATCH] Update bot.js --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index 7f0ea79..7671701 100644 --- a/bot.js +++ b/bot.js @@ -619,7 +619,7 @@ bot.action('buy_warehouse', async (ctx) => { // Формируем стоимость склада const warehouseBaseCost = 10; // Коэффициент для расчёта const warehouseCost = Math.round( - (woodPrice.price + metallPrice.price) * warehouseBaseCost * 10 * 24 * 7 + (woodPrice.price + metallPrice.price) * warehouseBaseCost * 24 * 7 ); // Проверяем, хватает ли денег у пользователя