From 6074e880f8c9b11ac380b2704b62a0f866e8b00a Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 14 Nov 2026 04:29:46 +0400 Subject: feat(game): pause the mission clock and scene --- apps/fparkan-game/src/audio.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'apps/fparkan-game/src/audio.rs') diff --git a/apps/fparkan-game/src/audio.rs b/apps/fparkan-game/src/audio.rs index a89e2759..0d6a34f5 100644 --- a/apps/fparkan-game/src/audio.rs +++ b/apps/fparkan-game/src/audio.rs @@ -946,11 +946,6 @@ impl GameAudio { } } - /// Focus callback used by the window event loop. - pub(crate) fn on_focus_changed(&mut self, focused: bool) { - self.set_paused(!focused); - } - /// Stops all sources before the window/event loop exits. pub(crate) fn shutdown(&mut self) { self.ambient.stop(); -- cgit v1.2.3