Also serialize unitCollUpdateArray in AttackPlan

It needs to be serialized so it's known which units to update next.
This commit is contained in:
phosit 2025-09-21 17:18:07 +02:00
parent f35595610a
commit 9aea56e4a2
No known key found for this signature in database
GPG key ID: C9430B600671C268

View file

@ -2273,7 +2273,8 @@ AttackPlan.prototype.Serialize = function()
"target": this.target !== undefined ? this.target.id() : undefined,
"targetPos": this.targetPos,
"uniqueTargetId": this.uniqueTargetId,
"path": this.path
"path": this.path,
"unitCollUpdateArray": this.unitCollUpdateArray
};
return { "properties": properties };