mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 11:50:42 +00:00
refactor: simplify comment in isTrajectoryBlockedByImpassable method
This commit is contained in:
@@ -636,8 +636,7 @@ export class NationNukeBehavior {
|
||||
/**
|
||||
* Check if the parabolic nuke trajectory from spawnTile to targetTile
|
||||
* crosses any impassable terrain. Mirrors the check in NukeExecution that
|
||||
* aborts such launches — if we don't check here, the AI wastes gold on
|
||||
* nukes that silently fail at launch time.
|
||||
* aborts such launches
|
||||
*/
|
||||
private isTrajectoryBlockedByImpassable(
|
||||
spawnTile: TileRef,
|
||||
|
||||
Reference in New Issue
Block a user