mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Call savestatsandsettings after unlocking MotU
This calls Game::savestatsandsettings() after unlocking Master of the Universe (the achievement for completing No Death Mode), instead of before. This is not a big deal since Game::savestatsandsettings() is called anyway whenever the game is gracefully closed since 2.3, but it helps to make sure people won't lose their achievement data.
This commit is contained in:
parent
25b4361563
commit
7ff4949066
1 changed files with 2 additions and 1 deletions
|
@ -3027,7 +3027,6 @@ void Game::updatestate(void)
|
|||
}
|
||||
|
||||
|
||||
savestatsandsettings();
|
||||
if (nodeathmode)
|
||||
{
|
||||
unlockAchievement("vvvvvvmaster"); //bloody hell
|
||||
|
@ -3040,6 +3039,8 @@ void Game::updatestate(void)
|
|||
setstatedelay(120);
|
||||
incstate();
|
||||
}
|
||||
|
||||
savestatsandsettings();
|
||||
break;
|
||||
case 3511:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue