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:
Misa
2020-07-02 19:56:26 -07:00
committed by Ethan Lee
parent c4853688b4
commit 7f61147973
2 changed files with 3 additions and 3 deletions

View File

@@ -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")