From a12f063e7f759a4727c6b654140a8acaaa8746f8 Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 7 Apr 2018 18:20:48 +0200 Subject: Added missing argument to new newSource function --- not/MusicPlayer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'not') 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 -- cgit v1.1