From 3ddf101a06c94fef763dd6d3819187597995851f Mon Sep 17 00:00:00 2001 From: phosit Date: Tue, 23 Sep 2025 16:30:44 +0200 Subject: [PATCH] Inform the AI about builders when initializing This wasn't a problem since there are no builders on a fresh match but now when deserializing there might be builders. --- binaries/data/mods/public/simulation/components/AIProxy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/binaries/data/mods/public/simulation/components/AIProxy.js b/binaries/data/mods/public/simulation/components/AIProxy.js index 260989a29b..7ddcc4f98b 100644 --- a/binaries/data/mods/public/simulation/components/AIProxy.js +++ b/binaries/data/mods/public/simulation/components/AIProxy.js @@ -116,6 +116,7 @@ function getFullRepresentation(entityID) { // Updated by OnFoundationProgressChanged ret.foundationProgress = cmpFoundation.GetBuildPercentage(); + ret.foundationBuilders = cmpFoundation.GetBuilders(); } const cmpResourceDropsite = Engine.QueryInterface(entityID, IID_ResourceDropsite);