Update bot.js

Enterprice efficienty fix
This commit is contained in:
Degradin 2025-01-12 21:48:03 +03:00
parent b4087cf26c
commit ea591019a3

2
bot.js
View File

@ -1218,7 +1218,7 @@ const resourceProduction = async () => {
} = enterprise; } = enterprise;
// Расчёт добытых ресурсов // Расчёт добытых ресурсов
const producedResources = efficiency * level; const producedResources = efficiency;
// Проверяем ёмкость склада предприятия // Проверяем ёмкость склада предприятия
if (currentResources + producedResources <= warehouseCapacity) { if (currentResources + producedResources <= warehouseCapacity) {