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) {