Describe the bug
The level select's window settings gets overwritten, even if the level passed is lower than the currently stored info.
To Reproduce
Steps to reproduce the behavior:
- As an example, say the player completes level 3, then returns back to the start of the game.
- The level select will have level 1, 2, and 3 unlocked.
- The user clicks on level 1, loads it, then returns back to the game without completing the level.
Expected behavior
Level 2 & 3 will remain unlocked.
Actual behavior
Level 2 & 3 will be locked. Only Level 1 is unlocked.
Additional context
Carry-over from the old Bitbucket Mercurial project:
https://bitbucket.org/OmiyaGames/hg-template-unity-project/issues/71/the-level-select-window-settings-gets
Describe the bug
The level select's window settings gets overwritten, even if the level passed is lower than the currently stored info.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Level 2 & 3 will remain unlocked.
Actual behavior
Level 2 & 3 will be locked. Only Level 1 is unlocked.
Additional context
Carry-over from the old Bitbucket Mercurial project:
https://bitbucket.org/OmiyaGames/hg-template-unity-project/issues/71/the-level-select-window-settings-gets