We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4129b54 commit adbf136Copy full SHA for adbf136
src/core/execution/NukeExecution.ts
@@ -91,9 +91,9 @@ export class NukeExecution implements Execution {
91
}
92
93
const threshold = this.mg.config().nukeAllianceBreakThreshold();
94
- for (const [attackedPlayer, tilesDestroyed] of attacked) {
+ for (const [attackedPlayer, totalWeight] of attacked) {
95
if (
96
- tilesDestroyed > threshold &&
+ totalWeight > threshold &&
97
this.nuke.type() !== UnitType.MIRVWarhead
98
) {
99
// Resolves exploit of alliance breaking in which a pending alliance request
0 commit comments