Fixed EndRound music looping forever. Closes #334

This commit is contained in:
Joonas Rikkonen
2018-04-18 11:02:58 +03:00
parent 9a8f13140e
commit edf5bacc89
5 changed files with 18 additions and 11 deletions
@@ -1514,9 +1514,7 @@ namespace Barotrauma.Networking
{
yield return CoroutineStatus.Running;
} while (cinematic.Running);
#if CLIENT
SoundPlayer.OverrideMusicType = null;
#endif
Submarine.Unload();
entityEventManager.Clear();