Skip to content

Commit

Permalink
fix: 🐛 dont draw FOV lines to missiles
Browse files Browse the repository at this point in the history
  • Loading branch information
thkruz committed Aug 16, 2024
1 parent 58ff44a commit ebb947f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/singletons/draw-manager/line-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class LineManager {
}

createSensorToSatFovAndSelectedOnly(sensor: DetailedSensor | null, sat: DetailedSatellite | null, color?: vec4): void {
if (!sensor || !sat) {
if (!sensor || !sat || sat instanceof MissileObject) {
return;
}

Expand Down

0 comments on commit ebb947f

Please sign in to comment.