mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Fix still being able to unlock things in custommode
This was caused by the fact that not all unlocks were done through the Game::unlocknum() function. Some just set the unlock number directly. But it's fixed now.
This commit is contained in:
@@ -3390,7 +3390,7 @@ void Game::updatestate()
|
||||
{
|
||||
//flip mode complete
|
||||
NETWORK_unlockAchievement("vvvvvvgamecompleteflip");
|
||||
unlock[19] = true;
|
||||
unlocknum(19);
|
||||
}
|
||||
|
||||
if (bestgamedeaths == -1)
|
||||
@@ -3425,7 +3425,7 @@ void Game::updatestate()
|
||||
if (nodeathmode)
|
||||
{
|
||||
NETWORK_unlockAchievement("vvvvvvmaster"); //bloody hell
|
||||
unlock[20] = true;
|
||||
unlocknum(20);
|
||||
state = 3520;
|
||||
statedelay = 0;
|
||||
}
|
||||
|
||||
@@ -1515,7 +1515,7 @@ void scriptclass::run()
|
||||
}
|
||||
else if (words[0] == "entersecretlab")
|
||||
{
|
||||
game.unlock[8] = true;
|
||||
game.unlocknum(8);
|
||||
game.insecretlab = true;
|
||||
}
|
||||
else if (words[0] == "leavesecretlab")
|
||||
|
||||
Reference in New Issue
Block a user