aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game/src/satellite_map.rs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/fparkan-game/src/satellite_map.rs')
-rw-r--r--apps/fparkan-game/src/satellite_map.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/fparkan-game/src/satellite_map.rs b/apps/fparkan-game/src/satellite_map.rs
index 0be40008..26db6c3d 100644
--- a/apps/fparkan-game/src/satellite_map.rs
+++ b/apps/fparkan-game/src/satellite_map.rs
@@ -230,7 +230,8 @@ impl SatelliteMap {
|| (Vec::new(), Vec::new()),
|((engine, cockpit, selected), extent)| {
(
- satellite_contacts::visible_buildings(engine, cockpit, extent).collect(),
+ satellite_contacts::visible_buildings(engine, cockpit, extent, selected)
+ .collect(),
satellite_contacts::visible_units(engine, cockpit, extent, selected)
.map(|mut unit| {
if let Some(points) = draft