From a71f1b6efaa10953b27fa093660260558be247d5 Mon Sep 17 00:00:00 2001 From: Justin Pridgen Date: Sat, 14 Sep 2024 02:36:53 -0400 Subject: [PATCH] how the fuck did this work --- CMakeLists.txt | 2 +- changelog.md | 3 +++ mod.json | 4 ++-- src/BSHoverNode.cpp | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e838f2a..3301e1a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ if (APPLE) endif() set(CMAKE_CXX_VISIBILITY_PRESET hidden) -project(BetterSafe VERSION 1.0.2) +project(BetterSafe VERSION 1.0.3) add_library(${PROJECT_NAME} SHARED src/BetterSafe.cpp diff --git a/changelog.md b/changelog.md index 0a95c9a..71fa6fd 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,7 @@ # Better Safe Changelog +## v1.0.3 (2024-09-14) +- Fixed a bug where the game would crash when viewing the daily/weekly level previews + ## v1.0.2 (2024-09-12) - Added More Difficulties and Demons In Between support diff --git a/mod.json b/mod.json index 2084776..e8584dc 100644 --- a/mod.json +++ b/mod.json @@ -1,11 +1,11 @@ { - "geode": "3.5.0", + "geode": "3.6.1", "gd": { "android": "2.206", "win": "2.206", "mac": "2.206" }, - "version": "v1.0.2", + "version": "v1.0.3", "id": "hiimjustin000.better_safe", "name": "Better Safe", "developer": "hiimjustin000", diff --git a/src/BSHoverNode.cpp b/src/BSHoverNode.cpp index 0ceb0cd..f1f93f7 100644 --- a/src/BSHoverNode.cpp +++ b/src/BSHoverNode.cpp @@ -21,7 +21,7 @@ bool BSHoverNode::init(SafeLevel const& level, GJGameLevel* gameLevel, MiniFunct m_callback = callback; - m_background = CCScale9Sprite::createWithSpriteFrameName("square02_001.png"); + m_background = CCScale9Sprite::create("square02_001.png"); m_background->setContentSize({ 80.0f, 70.0f }); m_background->setPosition(40.0f, 35.0f); m_background->setColor({ 0, 0, 0 });