diff --git a/README.md b/README.md index 722ce7e..ca61496 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ local sfxr = require("sfxr") function love.load() local sound = sfxr.newSound() sound:randomize() - love.audio.newSource(sound:generateSoundData()):play() + sound:play() end ```