Update src/client/graphics/layers/NukeTrajectoryPreviewLayer.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Ryan
2026-01-03 21:16:04 +00:00
committed by GitHub
parent 4af650f1b6
commit 13704a6e49
@@ -232,7 +232,7 @@ export class NukeTrajectoryPreviewLayer implements Layer {
targetTile = this.game.ref(worldCoords.x, worldCoords.y);
}
if (!targetTile) {
if (targetTile === null) {
this.trajectoryPoints = [];
return;
}