diff options
author | Aki <nthirtyone@gmail.com> | 2018-04-07 18:20:48 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2018-04-07 18:20:48 +0200 |
commit | a12f063e7f759a4727c6b654140a8acaaa8746f8 (patch) | |
tree | 4b69ea2124cc02f4a31085038a286aa3de29b35e /not | |
parent | 8d6376bf6044d4a82035f3a7289814c2cd7751cb (diff) | |
download | roflnauts-a12f063e7f759a4727c6b654140a8acaaa8746f8.zip roflnauts-a12f063e7f759a4727c6b654140a8acaaa8746f8.tar.gz roflnauts-a12f063e7f759a4727c6b654140a8acaaa8746f8.tar.bz2 |
Added missing argument to new newSource function
Diffstat (limited to 'not')
-rw-r--r-- | not/MusicPlayer.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/not/MusicPlayer.lua b/not/MusicPlayer.lua index 17beda4..900df68 100644 --- a/not/MusicPlayer.lua +++ b/not/MusicPlayer.lua @@ -22,7 +22,7 @@ function MusicPlayer:setTrack (trackName) if self.tracks[trackName] then self.source = self.tracks[trackName] else - local source = love.audio.newSource("assets/music/" .. trackName) + local source = love.audio.newSource("assets/music/" .. trackName, "stream") source:setLooping(true) source:setVolume(.7) self.source = source |