1
0
forked from 0ad/0ad

Fix units not auto-gathering after a group is given a construction order

This was SVN commit r9030.
This commit is contained in:
Ykkrosh 2011-03-05 15:56:24 +00:00
parent b914f82d2a
commit c0383ffc30

View File

@ -330,7 +330,7 @@ var UnitFsmSpec = {
"Order.Repair": function(msg) {
// TODO: see notes in Order.Attack
var cmpFormation = Engine.QueryInterface(this.entity, IID_Formation);
cmpFormation.CallMemberFunction("Repair", [msg.data.target, false]);
cmpFormation.CallMemberFunction("Repair", [msg.data.target, msg.data.autocontinue, false]);
cmpFormation.Disband();
},