diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-14 03:29:46 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-14 03:29:46 +0300 |
| commit | 6074e880f8c9b11ac380b2704b62a0f866e8b00a (patch) | |
| tree | a36c2dab74a8dbe724c51eada9982d0418b554f3 /apps/fparkan-game/src/audio.rs | |
| parent | 6d6645789c75a289255992abeb3bd809a2bb2363 (diff) | |
| download | fparkan-6074e880f8c9b11ac380b2704b62a0f866e8b00a.tar.xz fparkan-6074e880f8c9b11ac380b2704b62a0f866e8b00a.zip | |
feat(game): pause the mission clock and scene
Diffstat (limited to 'apps/fparkan-game/src/audio.rs')
| -rw-r--r-- | apps/fparkan-game/src/audio.rs | 5 |
1 files changed, 0 insertions, 5 deletions
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(); |
