Skip to content

Commit

Permalink
Fix playing music in menu during game
Browse files Browse the repository at this point in the history
  • Loading branch information
CustomBeerFairy committed Dec 21, 2024
1 parent a093aaf commit c597783
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/xrGame/ui/UIMMShniaga.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,7 @@ void CUIMMShniaga::InitShniaga(CUIXml& xml_doc, LPCSTR path)
ShowMain();

m_sound->Init(xml_doc, "menu_sound");
if (!g_pGameLevel || !g_pGameLevel->bReady)
{
m_sound->music_Play();
}
m_sound->music_Play();
}

void CUIMMShniaga::OnDeviceReset()
Expand Down

0 comments on commit c597783

Please sign in to comment.