diff --git a/game/main_code.cpp b/game/main_code.cpp index a9e5116..fb33341 100755 --- a/game/main_code.cpp +++ b/game/main_code.cpp @@ -840,7 +840,7 @@ void TMyApplication::InnerOnMouseMove(TMouseState& mouseState) { bool TMyApplication::IsLevelOpened(int levelStar, int levelIndex) { - return levelStar <= currentStar && levelIndex <= currentLevel; + return levelStar < currentStar || levelStar == currentStar && levelIndex <= currentLevel; }