Skip to content

Commit

Permalink
crash fix i think (#6)
Browse files Browse the repository at this point in the history
* crash fix i think

* brug
  • Loading branch information
hiimjustin000 authored Oct 13, 2024
1 parent 575d111 commit c375d4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"geode": "3.2.0",
"geode": "3.8.1",
"gd": {
"win": "2.206",
"android": "2.206",
Expand Down
3 changes: 3 additions & 0 deletions src/SettingsLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ void SettingCell::onFMODDebug(CCObject* sender) {
void SettingCell::onSongSelect(CCObject* sender) {
auto mol = MoreOptionsLayer::create();
mol->onSongBrowser(sender);
if (auto songBrowser = getChildOfType<GJSongBrowser>(CCScene::get(), 0)) {
if (songBrowser->m_delegate == mol) songBrowser->m_delegate = nullptr;
}
}

void SettingCell::onCheckboxToggled(CCObject* sender) {
Expand Down

0 comments on commit c375d4a

Please sign in to comment.