Commit f75419cf authored by Kevin Whitaker's avatar Kevin Whitaker

Don't pull from request queue unless the next item also was already up for voting.

parent df0e044a
......@@ -323,7 +323,7 @@ void GroovePlayerMgr::grooveEventLoop()
else
{
//Pick request song if there are any.
if(requestQueue.size() > 0)
if(requestQueue.size() > 0 && requestQueue.front().first.trackFingerprint == currentVoteBatch.back().trackFingerprint) //Assumes back is track 3.
{
winner = requestQueue.front().first;
requestQueue.pop_front();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment