diff options
| author | Valentin Popov <valentin@popov.link> | 2026-12-01 19:41:21 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-12-01 19:41:21 +0300 |
| commit | b0c81ed55b4a8a477f42ded173b1daff6cb29fa7 (patch) | |
| tree | 5298e633b72b963cd2d90ae6149c2a091ffb3265 /apps/fparkan-game/src/mission_notices.rs | |
| parent | 3e767422bba3cc4c3dcf4cfb48c56371e7ef0ff6 (diff) | |
| download | fparkan-b0c81ed55b4a8a477f42ded173b1daff6cb29fa7.tar.xz fparkan-b0c81ed55b4a8a477f42ded173b1daff6cb29fa7.zip | |
fix(ui): replace and expire mission pager messages
Diffstat (limited to 'apps/fparkan-game/src/mission_notices.rs')
| -rw-r--r-- | apps/fparkan-game/src/mission_notices.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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}" ); |
