Update bot.js
Enterprice efficienty fix
This commit is contained in:
parent
b4087cf26c
commit
ea591019a3
2
bot.js
2
bot.js
@ -1218,7 +1218,7 @@ const resourceProduction = async () => {
|
||||
} = enterprise;
|
||||
|
||||
// Расчёт добытых ресурсов
|
||||
const producedResources = efficiency * level;
|
||||
const producedResources = efficiency;
|
||||
|
||||
// Проверяем ёмкость склада предприятия
|
||||
if (currentResources + producedResources <= warehouseCapacity) {
|
||||
|
Loading…
Reference in New Issue
Block a user