mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 08:04:17 +00:00
Update src/client/graphics/layers/NukeTrajectoryPreviewLayer.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user