Fix t.audio.mixwithsystem defaults to false when absent from conf.lua

--HG--
branch : androidmic
This commit is contained in:
Miku AuahDark
2019-09-29 16:21:17 +08:00
parent c8a2978697
commit 5d63211b93
2 changed files with 10 additions and 5 deletions
+3 -1
View File
@@ -471,7 +471,9 @@ function love.init()
end
if love._setAudioMixWithSystem then
love._setAudioMixWithSystem(c.audio and c.audio.mixwithsystem)
if c.audio and c.audio.mixwithsystem ~= nil then
love._setAudioMixWithSystem(c.audio.mixwithsystem)
end
end
if love._requestRecordingPermission then