Added Game played when adding to que
This commit is contained in:
@@ -36,6 +36,7 @@ func Reset() {
|
||||
func AddLatestToQue() {
|
||||
if lastFetched.Path != "" {
|
||||
currentSong = len(songQue)
|
||||
db.AddGamePlayed(lastFetched.GameId)
|
||||
songQue = append(songQue, lastFetched)
|
||||
lastFetched = models.SongData{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user