Skip to content

Commit

Permalink
probably should unset the playlistcourse when its complete
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 15, 2017
1 parent 2b155de commit f79c1de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ScreenGameplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2448,8 +2448,10 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM )
Message msg("SongFinished");
MESSAGEMAN->Broadcast(msg);

if (SONGMAN->playlistcourse != "")
if (SONGMAN->playlistcourse != "") {
SONGMAN->allplaylists[SONGMAN->playlistcourse].courseruns.emplace_back(playlistscorekeys);
SONGMAN->playlistcourse = "";
}

TweenOffScreen();

Expand Down

0 comments on commit f79c1de

Please sign in to comment.