Skip to content

Commit cef2e25

Browse files
committed
Fix log message
1 parent e967027 commit cef2e25

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

pkg/radar/radar.go

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,18 +110,17 @@ func (r *Radar) SetBullseye(bullseye orb.Point, coalition coalitions.Coalition)
110110
Float64("lon", bullseye.Lon()).
111111
Float64("lat", bullseye.Lat()).
112112
Str("terrain", terrain.Name).
113-
Msg("updating bullseye")
113+
Msg("updating detected terrain")
114114

115115
r.projectionLock.Lock()
116116
r.projection = terrain.Projection()
117117
r.projectionLock.Unlock()
118-
} else {
119-
log.Info().
120-
Int("coalitionID", int(coalition)).
121-
Float64("lon", bullseye.Lon()).
122-
Float64("lat", bullseye.Lat()).
123-
Msg("updating bullseye")
124118
}
119+
log.Info().
120+
Int("coalitionID", int(coalition)).
121+
Float64("lon", bullseye.Lon()).
122+
Float64("lat", bullseye.Lat()).
123+
Msg("updating bullseye")
125124
}
126125
r.bullseyes.Store(coalition, bullseye)
127126
}

0 commit comments

Comments
 (0)