Skip to content

Commit

Permalink
didnt check for this uh oh
Browse files Browse the repository at this point in the history
  • Loading branch information
undefined06855 committed Jan 22, 2025
1 parent 8ee6807 commit f69ecee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# EditorMusic
## v2.1.6
- Fixed issues with zero songs
## v2.1.5
- Add physical media button support
- Fixed issues with Quick Volume Controls
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 @@
"mac": "2.2074",
"android": "2.2074"
},
"version": "v2.1.5",
"version": "v2.1.6",
"id": "undefined0.editormusic",
"name": "EditorMusic",
"developer": "undefined0",
Expand Down
2 changes: 2 additions & 0 deletions src/hooks/LevelEditorLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ bool HookedLevelEditorLayer::init(GJGameLevel* p0, bool p1) {
void HookedLevelEditorLayer::updateEditor(float dt) {
LevelEditorLayer::updateEditor(dt);

if (!AudioManager::get().shouldAllowAudioFunctions()) return;

auto currentSong = AudioManager::get().getCurrentSong();
auto fields = m_fields.self();
if (currentSong == fields->m_currentSong) return;
Expand Down

0 comments on commit f69ecee

Please sign in to comment.