Now listens to SetCamera event and the background music should be working properly.

This commit is contained in:
stiffly
2016-03-13 17:35:05 +01:00
parent fb400bb743
commit fe090504cf
3 changed files with 32 additions and 61 deletions
-5
View File
@@ -30,11 +30,6 @@ bool SoundSystem::OnPlayerSpawned(const Events::PlayerSpawned &e)
Events::PlayAnonuncerVoice go;
go.FilePath = "Audio/Announcer/" + m_Announcer + "/Go.wav";
m_EventBroker->Publish(go);
{
Events::ChangeBGM ev;
ev.FilePath = "Audio/BGM/Layer1.wav";
m_EventBroker->Publish(ev);
}
}
return true;
}