Skip to content

Commit

Permalink
mmm naybe this is better
Browse files Browse the repository at this point in the history
  • Loading branch information
undefined06855 committed Jan 31, 2025
1 parent 98ff013 commit 33672dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/AudioManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,9 @@ void AudioManager::update(float dt) {
if (m_playCurrentSongQueuedForLoad) startPlayingCurrentSong();

if (m_isInEditor && !LevelEditorLayer::get()) {
em::log::warn("potential m_isInEditor desync! setting m_isInEditor to false...");
m_isInEditor = false;
em::log::warn("potential m_isInEditor desync! prematurely running exitEditor...");
exitEditor();
return;
}

// update easings
Expand Down

0 comments on commit 33672dc

Please sign in to comment.