Skip to content

[BUG] The level select window settings gets overwritten #42

@japtar10101

Description

@japtar10101

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:

  1. As an example, say the player completes level 3, then returns back to the start of the game.
  2. The level select will have level 1, 2, and 3 unlocked.
  3. 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority-highIndicates the 2nd highest priority.

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions