From 0743df0eeb53c2d5424d6e3a7d293843c02512e3 Mon Sep 17 00:00:00 2001 From: haunter Date: Tue, 5 May 2026 22:08:12 +0300 Subject: [PATCH] fix 3 --- bot_modules/02_state.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bot_modules/02_state.js b/bot_modules/02_state.js index f8af9c4..264dfe4 100644 --- a/bot_modules/02_state.js +++ b/bot_modules/02_state.js @@ -139,6 +139,7 @@ function gatherState() { unitDataMap[u] = { wood: w, stone: s, iron: i, pop: gdUnits[u].population || 0, + favor: gdUnits[u].favor || 0, build_time: gdUnits[u].build_time || 0, enough_resources: enough, missing_dependencies: missing_deps