From b0c81ed55b4a8a477f42ded173b1daff6cb29fa7 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 1 Dec 2026 20:41:21 +0400 Subject: fix(ui): replace and expire mission pager messages --- apps/fparkan-game/src/mission_notices.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/fparkan-game/src/mission_notices.rs') diff --git a/apps/fparkan-game/src/mission_notices.rs b/apps/fparkan-game/src/mission_notices.rs index b3f855bf..739eb628 100644 --- a/apps/fparkan-game/src/mission_notices.rs +++ b/apps/fparkan-game/src/mission_notices.rs @@ -21,12 +21,12 @@ impl StaticVulkanApp { MissionNotice::Information(index) => { #[cfg(windows)] { - let queued = self + let posted = self .mission_hints .as_mut() .ok_or_else(|| "mission text resources unavailable".to_string()) - .and_then(|hints| hints.enqueue(index)); - if let Err(error) = queued { + .and_then(|hints| hints.post(index, clock_ms)); + if let Err(error) = posted { eprintln!( "sim_coverage mission_text_unavailable=1 index={index} reason={error}" ); -- cgit v1.2.3