Increase NumPlayer-attribute at saving to db.
This commit is contained in:
1 parent
f0ab780a87
commit
bb8166351f
1 file changed
+1
@@ -402,6 +402,7 @@ namespace Vocaluxe.Screens
|
|||||||
if (players[p].Points > CSettings.MinScoreForDB && players[p].SongFinished)
|
if (players[p].Points > CSettings.MinScoreForDB && players[p].SongFinished)
|
||||||
{
|
{
|
||||||
CDataBase.IncreaseSongCounter(players[p]);
|
CDataBase.IncreaseSongCounter(players[p]);
|
||||||
|
CSongs.GetSong(players[p].SongID).NumPlayed++;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user