From 4050ef6d86f899773bf9e75972eff13de3a1f35d Mon Sep 17 00:00:00 2001 From: Alphalaneous <38200084+Alphalaneous@users.noreply.github.com> Date: Sun, 29 Dec 2024 21:28:39 -0500 Subject: [PATCH] bugfix --- changelog.md | 3 +++ mod.json | 2 +- src/nodes/MenuLayer.h | 5 ++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 737bfda..039723a 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,6 @@ +## 1.8.7 +- Fix a very teeny bug that may break MenuLayer changes + ## 1.8.6 - Added "after-transition" object for layers in a scene, allowing for you to only make changes after the transition finishes (see wiki for more details) - Fixed cache failing to be reset, resulting in missing textures when a pack is unapplied diff --git a/mod.json b/mod.json index 68e9ef0..0756735 100644 --- a/mod.json +++ b/mod.json @@ -5,7 +5,7 @@ "android": "2.2074", "mac": "2.2074" }, - "version": "v1.8.6", + "version": "v1.8.7", "id": "alphalaneous.happy_textures", "name": "Happy Textures :3", "developer": "Alphalaneous", diff --git a/src/nodes/MenuLayer.h b/src/nodes/MenuLayer.h index d26acb9..e6ae91c 100644 --- a/src/nodes/MenuLayer.h +++ b/src/nodes/MenuLayer.h @@ -55,7 +55,10 @@ class $modify(MyMenuLayer, MenuLayer) { if (Mod::get()->getSettingValue("hot-reload")) { UIModding::get()->startFileListeners(); } - UIModding::get()->doUICheck(this, UIModding::get()->initialScene); + if (UIModding::get()->initialScene) { + UIModding::get()->doUICheck(this, true); + } + UIModding::get()->doUICheck(this); UIModding::get()->initialScene = false; } return true;