diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d17a69..4638b8d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64") set(CMAKE_CXX_VISIBILITY_PRESET hidden) -project(IntegratedDemonlist VERSION 1.6.0) +project(IntegratedDemonlist VERSION 1.6.1) add_library(${PROJECT_NAME} SHARED src/IDListLayer.cpp diff --git a/changelog.md b/changelog.md index 9cf0c5f..e43b0bc 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,7 @@ # Integrated Demonlist Changelog +## v1.6.1 (2024-09-02) +- Fixed a bug where the enter key would not work at all + ## v1.6.0 (2024-09-01) - Added AREDL pack support - Fixed a bug where the AREDL would not load at the start of the game diff --git a/mod.json b/mod.json index 2f391dc..5624d6f 100644 --- a/mod.json +++ b/mod.json @@ -5,7 +5,7 @@ "win": "2.206", "mac": "2.206" }, - "version": "v1.6.0", + "version": "v1.6.1", "id": "hiimjustin000.integrated_demonlist", "name": "Integrated Demonlist", "developer": "hiimjustin000", diff --git a/src/main.cpp b/src/main.cpp index 61cfa6b..e0eca67 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -108,7 +108,7 @@ class $modify(IDKeyboardDispatcher, CCKeyboardDispatcher) { auto packLayer = static_cast(CCDirector::sharedDirector()->getRunningScene()->getChildByID("IDPackLayer")); if (packLayer) packLayer->search(); - return true; + return listLayer || packLayer; } else return CCKeyboardDispatcher::dispatchKeyboardMSG(key, down, repeat); }