Fix crash at song end
This commit is contained in:
1 parent
faee5fa107
commit
d5ae52a8f7
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user