From 9483e5ff3a5d337b73dc08a1e9546f56a36c010f Mon Sep 17 00:00:00 2001 From: Ralty <78720179+Raltyro@users.noreply.github.com> Date: Sun, 20 Jul 2025 08:55:55 +0700 Subject: [PATCH] put it back in --- source/flixel/sound/FlxSound.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/flixel/sound/FlxSound.hx b/source/flixel/sound/FlxSound.hx index 528af466..e52b8cc7 100644 --- a/source/flixel/sound/FlxSound.hx +++ b/source/flixel/sound/FlxSound.hx @@ -852,7 +852,7 @@ class FlxSound extends FlxBasic { return _time; } function get_time():Float { - if (_channel == null || @:privateAccess !_channel.__isValid || AudioManager.context == null) return _time; + if (_channel == null || @:privateAccess !_channel.__isValid || /*AudioManager.context == null*/funkin.backend.system.Main.audioDisconnected) return _time; final sourceTime = _source.currentTime - _source.offset - _offset; if (!_source.playing || _realPitch <= 0) {