aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game/src/main.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-12-02 19:59:56 +0300
committerValentin Popov <valentin@popov.link>2026-12-02 19:59:56 +0300
commit09c2d0778d5ecffb1c575883232f57aeeb5ac3f0 (patch)
tree1e2e47d366cce3454d8880536599711e100d80a9 /apps/fparkan-game/src/main.rs
parent61caf325b14e219224c20080f397f72774375745 (diff)
downloadfparkan-09c2d0778d5ecffb1c575883232f57aeeb5ac3f0.tar.xz
fparkan-09c2d0778d5ecffb1c575883232f57aeeb5ac3f0.zip
feat(ui): show the selected target in the left cockpit instrument
Diffstat (limited to 'apps/fparkan-game/src/main.rs')
-rw-r--r--apps/fparkan-game/src/main.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/fparkan-game/src/main.rs b/apps/fparkan-game/src/main.rs
index 0dffab02..3fc7ace6 100644
--- a/apps/fparkan-game/src/main.rs
+++ b/apps/fparkan-game/src/main.rs
@@ -9947,9 +9947,6 @@ impl StaticVulkanApp {
"Герой"
};
let _ = write!(title, " — {unit}");
- if let (None, Some(target)) = (self.boarded_hero_index, self.selected_contact) {
- let _ = write!(title, " · Выбран варбот №{}", target.slot);
- }
if let Some(status) = fparkan_runtime::player_status(engine, cockpit.handle) {
if let Some(health) = status.health_percent {
let _ = write!(title, " · Здоровье {health}%");