Fix crash at song end

This commit is contained in:
Flamefire committed 2014-08-08 17:50:41 +02:00
1 parent faee5fa107
commit d5ae52a8f7
1 file changed
+1 -1
+1 -1
View File
@@ -125,7 +125,7 @@ namespace Vocaluxe.SongQueue
_SongQueue[_CurrentRound].GameMode);
}
_CurrentRound++;
_CurrentSong = CGameModes.Get(GetCurrentGameMode()).GetSong(_SongQueue[_CurrentRound].SongID);
_CurrentSong = IsFinished() ? null : CGameModes.Get(GetCurrentGameMode()).GetSong(_SongQueue[_CurrentRound].SongID);
}
public bool IsFinished()