Skip to content

Commit efbe3df

Browse files
committed
Remove useless difficulty checks for nuke trajectory interception
1 parent 671d493 commit efbe3df

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/core/execution/nation/NationNukeBehavior.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,6 @@ export class NationNukeBehavior {
132132
spawnTile: TileRef,
133133
targetTile: TileRef,
134134
): boolean {
135-
const difficulty = this.mg.config().gameConfig().difficulty;
136-
if (
137-
difficulty !== Difficulty.Hard &&
138-
difficulty !== Difficulty.Impossible
139-
) {
140-
return false;
141-
}
142-
143135
const pathFinder = new ParabolaPathFinder(this.mg);
144136
const speed = this.mg.config().defaultNukeSpeed();
145137
const distanceBasedHeight = true; // Atom/Hydrogen bombs use distance-based height

0 commit comments

Comments
 (0)