MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / stopAmbient

Function stopAmbient

src/engine/ui.ts:99–105  ·  view source on GitHub ↗
(engine: VisualNovelEngine)

Source from the content-addressed store, hash-verified

97
98// Stop the main menu's music
99export function stopAmbient (engine: VisualNovelEngine): void {
100 const player = engine.ambientPlayer;
101
102 if (player && !player.paused) {
103 player.pause ();
104 }
105}
106
107// ============================================================================
108// Screen Management

Callers

nothing calls this directly

Calls 1

pauseMethod · 0.80

Tested by

no test coverage detected