From d36b67855a7fdc1cfcee9391c2978854e4352ac1 Mon Sep 17 00:00:00 2001 From: neckrat Date: Fri, 16 Jan 2026 16:09:49 +0300 Subject: [PATCH] stream type microfix --- lib/audio.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/audio.lua b/lib/audio.lua index 6a2816f..fcd40f3 100644 --- a/lib/audio.lua +++ b/lib/audio.lua @@ -11,9 +11,13 @@ local function new(musicVolume, soundVolume) -- здесь мы должны в }, audio) end +function audio:crossfade() + +end + --- @param source love.Source function audio:play(source) - if source:getType() == "static" then + if source:getType() == "stream" then source:setVolume(self.musicVolume) return source:play() end