Code: Select all
local music
local volume
function love.load()
music = love.audio.newSource("Randomize10.wav")
music:play()
end
Code: Select all
Error
main.lua:15: bad argument #2 to 'newSource' (string expected, got no value)
Traceback
[C]: in function 'newSource'
main.lua:15: in function 'load'
[C]: in function 'xpcall'
[C]: in function 'xpcall'
Edit: The file name is the same Case as well.