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.
This commit is contained in:
phosit 2025-09-23 16:30:44 +02:00
parent 9aea56e4a2
commit 3ddf101a06
No known key found for this signature in database
GPG key ID: C9430B600671C268

View file

@ -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);