mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-20 23:44:08 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user