From 7dd027fd5130daf532cd2214a6d9689293bb2c86 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 2 Dec 2026 13:07:11 +0400 Subject: feat(ui): assign search and destroy from the warbot panel Show the native search status immediately without opening the map. Verify from the stock Two Fortresses start that the selected marker moves with the internal route hidden and that Stand cancels the search. --- apps/fparkan-game/src/strategic_view.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/fparkan-game/src/strategic_view.rs') diff --git a/apps/fparkan-game/src/strategic_view.rs b/apps/fparkan-game/src/strategic_view.rs index b19de9d4..869b9d77 100644 --- a/apps/fparkan-game/src/strategic_view.rs +++ b/apps/fparkan-game/src/strategic_view.rs @@ -386,6 +386,11 @@ impl StaticVulkanApp { view.order_input = Some(OrderInput::Route(Vec::new())); return; } + Some((actor, RosterOrder::SearchAndDestroy)) => { + strategic_orders::search_and_destroy(engine, cockpit, actor); + view.order_input = None; + return; + } Some((_, RosterOrder::Patrol)) => { view.order_input = Some(OrderInput::Patrol); return; -- cgit v1.2.3