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:15:55 +00:00
committed by GitHub
parent acfb48f0f6
commit 4af650f1b6
@@ -135,7 +135,7 @@ export class NukeTrajectoryPreviewLayer implements Layer {
targetTile = this.game.ref(worldCoords.x, worldCoords.y);
}
if (!targetTile) {
if (targetTile === null) {
this.trajectoryPoints = [];
this.lastTargetTile = null;
this.cachedSpawnTile = null;