mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-14 18:57:03 +00:00
teams (#349)
This commit is contained in:
@@ -116,7 +116,7 @@ export class PlayerExecution implements Execution {
|
||||
const main = clusters.shift();
|
||||
this.player.largestClusterBoundingBox = calculateBoundingBox(this.mg, main);
|
||||
const surroundedBy = this.surroundedBySamePlayer(main);
|
||||
if (surroundedBy && !this.player.isAlliedWith(surroundedBy)) {
|
||||
if (surroundedBy && !this.player.isFriendly(surroundedBy)) {
|
||||
this.removeCluster(main);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user