Ticket #4599: formation.patch
File formation.patch, 660 bytes (added by , 7 years ago) |
---|
-
binaries/data/mods/public/simulation/helpers/Commands.js
1413 1413 return []; 1414 1414 1415 1415 RemoveFromFormation(ents); 1416 cmpUnitAI.SetLastFormationTemplate("formations/null"); 1416 1417 1417 1418 return [ cmpUnitAI ]; 1418 1419 } … … 1438 1439 else 1439 1440 { 1440 1441 if (nullFormation) 1442 { 1443 RemoveFromFormation([ent]); 1441 1444 cmpUnitAI.SetLastFormationTemplate("formations/null"); 1445 } 1442 1446 nonformedUnitAIs.push(cmpUnitAI); 1443 1447 } 1444 1448 }