Skip to content

Commit

Permalink
bugfix again
Browse files Browse the repository at this point in the history
  • Loading branch information
hiimjasmine00 committed Aug 20, 2024
1 parent fa1c46b commit 90935b8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64")
set(CMAKE_CXX_VISIBILITY_PRESET hidden)

project(FakeRate VERSION 1.4.4)
project(FakeRate VERSION 1.4.5)

add_library(${PROJECT_NAME} SHARED
src/FakeRate.cpp
Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Fake Rate Changelog
## v1.4.5 (2024-08-19)
- Fixed a bug where rating a level with a More Difficulties difficulty to a normal difficulty would not correctly update the difficulty face

## v1.4.4 (2024-08-19)
- Fixed the weird positioning of difficulty faces in the difficulty selection popup if More Difficulties is disabled
- Changed references of stars to moons in the set stars popup if the level is in platformer mode
Expand Down
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"win": "2.206",
"mac": "2.206"
},
"version": "v1.4.4",
"version": "v1.4.5",
"id": "hiimjustin000.fake_rate",
"name": "Fake Rate",
"developer": "hiimjustin000",
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ class $modify(FRLevelInfoLayer, LevelInfoLayer) {
auto starsRequested = m_level->m_starsRequested;
auto stars = m_level->m_stars.value();
if (remove && stars == 0 && (starsRequested == 4 || starsRequested == 7 || starsRequested == 9)) moreDifficultiesOverride = starsRequested;
if (remove && stars == 4 || stars == 7 || stars == 9) moreDifficultiesOverride = stars;
if (remove && (stars == 4 || stars == 7 || stars == 9)) moreDifficultiesOverride = stars;
if ((moreDifficultiesOverride != 4 && moreDifficultiesOverride != 7 && moreDifficultiesOverride != 9)
|| gdo > 0 || dbo > 0 || gio > 0) return;

Expand Down

0 comments on commit 90935b8

Please sign in to comment.