mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07: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:
parent
9aea56e4a2
commit
3ddf101a06
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue