bugfix: crash at startup
This commit is contained in:
1 parent
9d72369a92
commit
96dc37e788
2 files changed
+3
-8
No files matched your search
@@ -44,10 +44,10 @@ namespace Vocaluxe.Base
|
||||
|
||||
public const int iVersionMajor = 0;
|
||||
public const int iVersionMinor = 1; // milestones
|
||||
public const int iVersionSub = 0; // steps
|
||||
public const int iVersionSub = 1; // steps
|
||||
public const ERevision VersionRevision = ERevision.Release;
|
||||
|
||||
public const int iBuild = 60; // Increase on every published version! Never Reset!
|
||||
public const int iBuild = 61; // Increase on every published version! Never Reset!
|
||||
|
||||
public const int iDatabaseHighscoreVersion = 1;
|
||||
public const int iDatabaseCoverVersion = 1;
|
||||
|
||||
@@ -150,12 +150,7 @@ namespace Vocaluxe.Screens
|
||||
if (CSettings.GameState == EGameState.EditTheme)
|
||||
_timer.Stop();
|
||||
else
|
||||
_timer.Start();
|
||||
|
||||
if (CSongs.SongsLoaded && CConfig.CoverLoading == ECoverLoading.TR_CONFIG_COVERLOADING_ATSTART && _timer.ElapsedMilliseconds > 1000L)
|
||||
{
|
||||
CSongs.LoadCover(0L, 1);
|
||||
}
|
||||
_timer.Start();
|
||||
|
||||
bool next = ((CConfig.CoverLoading == ECoverLoading.TR_CONFIG_COVERLOADING_ATSTART && CSongs.CoverLoaded) ||
|
||||
CConfig.CoverLoading != ECoverLoading.TR_CONFIG_COVERLOADING_ATSTART);
|
||||
|
||||
Reference in new issue
Block a user