Skip to content

Commit

Permalink
added bug note for swam formation
Browse files Browse the repository at this point in the history
  • Loading branch information
zGeneral committed Oct 14, 2020
1 parent 67af644 commit d299861
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/overlords/offense/swarmDestroyer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export class SwarmDestroyerOverlord extends SwarmOverlord {
this.fallback = $.pos(this, 'fallback', () =>
this.intel.findSwarmAssemblyPointInColony({width: 2, height: 2}), 200)!;
this.assemblyPoints = [];
// Bug note, it does not guarantee walkable positions, swam can get stuck trying to form a quad at colony
for (let i = 0; i < _.keys(this.swarms).length + 1; i++) {
this.assemblyPoints.push($.pos(this, `assemble_${i}`, () =>
this.intel.findSwarmAssemblyPointInColony({width: 2, height: 2}, i + 1), 200)!);
Expand Down

0 comments on commit d299861

Please sign in to comment.